]> Repositorios git - scryer-prolog.git/commit
Fix round() losing precision on bigints
authorEmilie Burgun <[email protected]>
Fri, 17 Jan 2025 22:33:09 +0000 (23:33 +0100)
committerEmilie Burgun <[email protected]>
Sun, 26 Jan 2025 23:05:30 +0000 (00:05 +0100)
commitd3361c16d81567db2426043a4c52ed30495af040
tree45de0a1273ad606044492d646d900522afcd8695
parent9420c7e41eb88e9918d82657e956088616f258d9
Fix round() losing precision on bigints

The original issue can be reproduced with `X is round(2 ^ 54 + 1) - 2 ^ 54, X = 1.`
src/machine/arithmetic_ops.rs