Skip to content

Commit

Permalink
conditional call depending on typemax(Clong)
Browse files Browse the repository at this point in the history
Use conditional call to `smarsa_BirthdaySpacings` in `bigcrushJulia`, depending on typemax(Clong)
Clong is defined as Int32 on Windows
  • Loading branch information
GregPlowman authored Jan 13, 2025
1 parent 7bd6128 commit aa50ef5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/RNGTest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,11 @@ module RNGTest
g->smarsa_CollisionOver(g, 30, 2*10^7, 27, 8, 14),
g->smarsa_CollisionOver(g, 30, 2*10^7, 0, 4, 21),
g->smarsa_CollisionOver(g, 30, 2*10^7, 28, 4, 21),
g->smarsa_BirthdaySpacings(g, 250, 4*10^6, 0, 2^30, 2, 1),
if typemax(Clong) < 2^31 # Windows
g->smarsa_BirthdaySpacings(g, 250, 4*10^6, 0, 2^30, 2, 1)
else
g->smarsa_BirthdaySpacings(g, 100, 10^7, 0, 2^31, 2, 1)
end,
g->smarsa_BirthdaySpacings(g, 20, 2*10^7, 0, 2^21, 3, 1),
g->smarsa_BirthdaySpacings(g, 20, 3*10^7, 14, 2^16, 4, 1),
g->smarsa_BirthdaySpacings(g, 20, 2*10^7, 0, 2^9, 7, 1),
Expand Down

0 comments on commit aa50ef5

Please sign in to comment.