Re: Phix, numbers, printf, log10

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu