Double to double

This commit is contained in:
@hangga 2024-01-21 13:19:52 +07:00
parent ce62cb3dc0
commit b8d8087262
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ public class SecureRandomPositiveLongUnitTest {
assertThat(randomPositiveLong).isPositive();
//Double pc = 1.0 / Math.pow(2, 63);
Double pc = 1.0 / Long.MAX_VALUE;
double pc = 1.0 / Long.MAX_VALUE;
System.out.printf("%.40f", pc);
assertThat(pc).isLessThan(0.00000000000000001);