Re: Phix, numbers, printf, log10
- Posted by RobertS in February
- 1003 views
P.S.
petelomax said...
Exact may not match what %e delivers.
(for instance that willmay start printing "9.99999999" then round up to 1.0 and bump the exponent)
That's fine with me. When it rounds up the number and bumps the exponent, then this is what it is — I don't expect accuracy beyond 18 digits. I'm only worried that (the way I'm doing it, using log10) one might possibly happen without the other.
petelomax said...
Do you need the magnitude of negative numbers? Is 0.01 ==> -2 ok/wanted?
What are the largest(/smallest) numbers you need a magnitude for?
a) no
b) yes
c) no limit
but, with %e working reliably, I think I'd have all I need.
Thanks again!
Robert