[Speex-dev] [PATCH 2/3] Use fabsf() instead of fabs() since we have floats, not double

Peter Meerwald pmeerw at pmeerw.net
Tue Apr 15 14:36:45 PDT 2014

> > Seems fine, fabsf is supported everywhere fabs is?
> No. AFAIK, fabsf() is C99-only, which would be a problem.

right, fabsf() is C99, fabs() is C89 (according to fabs(3) man)

I wasn't aware of this constraint; it might be a good idea to enforce/test 
C89 compliance with "gcc -std=c89" then



Peter Meerwald
+43-664-2444418 (mobile)

More information about the Speex-dev mailing list