"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: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 04:15:36 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
921 files (14,318M bytes) |
| Messages: | 264,528 |