parent
39230422d0
commit
065264eae1
2 changed files with 32 additions and 30 deletions
|
|
@ -96,5 +96,8 @@ template main() =
|
|||
doAssert floorMod(3 // 10, 1 // 1) == 3 // 10
|
||||
doAssert floorMod(-3 // 10, 1 // 1) == 7 // 10
|
||||
|
||||
when sizeof(int) == 8:
|
||||
doAssert almostEqual(PI.toRational.toFloat, PI)
|
||||
|
||||
static: main()
|
||||
main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue