For now, solve the precision problem with brute force,

by using long double where available.
Unfortunately, it won't be available everywhere, so a better solution
would still be nice.
Also, sometimes rounding of smaller sizes doesn't work right yet.
This commit is contained in:
Olaf Seibert
2021-01-18 23:11:00 +01:00
parent 37abe35427
commit 8aea1498c5
3 changed files with 91 additions and 4 deletions

View File

@@ -26,3 +26,7 @@
.flt4 72057594037927936 ; 056200 000000 000000 000000
.flt4 72057594037927937 ; 056200 000000 000000 000001
.flt4 144115188075855873 ; 1 << 57 +1
; 056400 000000 000000 000000 (rounded!)