"R" == Rosario19 <Ros@invalid.invalid> writes:
In Nars is right that the floor of log10 of 9999999999999.9v with
fpc=128 result 13?
30??10 ? 9999999999999.9v
13.000000000000000000000000000000
"R" == Rosario19 <Ros@invalid.invalid> writes:
In Nars is right that the floor of log10 of 9999999999999.9v with
fpc=128 result 13?
30??10 ? 9999999999999.9v
13.000000000000000000000000000000
I don't know nars, you are probably being hit by floating point
precision issues.
with arbitrary precision, the log10 of 9999999999999.9 is:
+12.999999999999995657055180967460008764615648097801793308999084...
Using ieee 64bit floats, you are likely to get 12.999999999999995,
but with 32bit floats you'll get 13.0.
Even with 64bit floats, rounding issues along the way could lead to a
result of 13 rather than 12.99999999...
Hense the difference in floor()'s output.
-JimC
In Nars is right that the floor of log10 of 9999999999999.9v with
fpc=128 result 13?
30??10 ? 9999999999999.9v
13.000000000000000000000000000000
but here result 12
(4) -> floor( log10 ( 9999999999999.9))
(4) 12.0
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 307 |
Nodes: | 16 (2 / 14) |
Uptime: | 61:46:39 |
Calls: | 6,915 |
Files: | 12,379 |
Messages: | 5,431,366 |