[Tinyos-help] problem dealing with floating point numbers

Philip Levis pal at cs.stanford.edu
Sun May 4 11:00:02 PDT 2008


On May 4, 2008, at 10:45 AM, Paul Stickney wrote:
>>
> Reasons to stay with/use an exponent based FP implementation is that
> it can cover a much wider range (albeit it loses precision the further
> out you go and can never entirely [accurately] represent a wide range
> of discreet numbers) and NaN/Inf can be encoded-- are these needed for
> *your* mote?

Also, floating point gives you relative precision, while fixed point  
gives you absolute precision.

Phil


More information about the Tinyos-help mailing list