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

Peter Meerwald <[email protected]> Tue, 15 Apr 2014 23:36:45 +0200 (CEST)
Newsgroups gmane.comp.audio.compression.speex.devel
Message-ID <[email protected]>
> > 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

p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)