It is.  Both "double" and "float" are 32-bits.  Arduino uses the GCC AVR
compiler.

If you care a lot about precision you use integer math and do all your
calculations in integer units of milli or microseconds.  If you try to keep
time in "floats" you are working with about four decimal digit
approximations which might not be good enough.


On Sun, Jan 19, 2014 at 2:04 PM, Mark Sims <[email protected]> wrote:

> I'm pretty sure the arduino double precision routines are actually single
> precision...  at least they are in the standard AVR ports of GCC.
> _______________________________________________
> time-nuts mailing list -- [email protected]
> To unsubscribe, go to
> https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
> and follow the instructions there.
>



-- 

Chris Albertson
Redondo Beach, California
_______________________________________________
time-nuts mailing list -- [email protected]
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Reply via email to