avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] Pow Function in avr8


From: Jan Waclawek
Subject: Re: [avr-libc-dev] Pow Function in avr8
Date: Wed, 28 Nov 2012 14:02:49 +0100

>Floating point equivalence is not guaranteed so is this comparison valid ?

C99 in 5.2.4.2.2#5 says:
The accuracy ofthe floating-point operations (+, -, *, /) and of the
library functions in <math.h>and <complex.h> that return floating-point
results is implementation-defined [...] The implementation may state that
the accuracy is unknown.


JW

PS. Are you sure you linked against avr-libc's math library?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]