Is there a reasonable way to use numbers smaller than about 10^-6

Richmond richmondmathewson at gmail.com
Wed Nov 20 11:53:01 EST 2013


On 20.11.2013 18:39, Geoff Canyon wrote:
> I'm calculating gravity across long and short distances. That means I need
> to deal with the gravity of Earth (~9.8 m/s/s) and Europa (~10^-11 m/s/s)
> at the same time, and it can get worse than that (Sedna, for example)

Yeah, Yeah, yeah; and we ALL know what 'Sedna' is, don't we? (that's a 
tag question, grammar fans).

Anything beyond Neptune is generally beyond my ken.

Richmond.

> Ordinary math seems to peter out at 0.000001.
>
> This puts 8.100e-13: put format("%1.3e", (1e0)/(1234567890123e0))
>
> So is something like that the best way to go?
>
> gc
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list