[vorbis-dev] Re: libvorbis: NO_FLOAT_MATH_LIB patch

Segher Boessenkool segher at chello.nl
Fri Mar 30 07:49:59 PST 2001



Christian Weisgerber wrote:
> 
> Segher Boessenkool <segher at chello.nl> wrote:
> 
> > > NO_FLOAT_MATH_LIB isn't used any longer.
> >
> > This is no good.
> 
> It's certainly better than what's currently there.

no

> 
> > We really need the GNU semantics of the _f functions.
> 
> Without this patch:
> - libvorbis doesn't properly build on (at least) Solaris at all.

yes

> - Depending on whether I use gcc or ccc on FreeBSD/alpha, I will
>   or will not get the _f functions, although the functions themselves
>   are the very same BSD libm code in both cases--and whether those
>   have "GNU semantics" I don't know.

yes

> 
> > And availability of sqrtf() is not enough to guarantee availability of
> > all other _f functions...
> 
> We can trivially check for each function individually.

yes. but you won't know what that function actually _does_.

> 
> > It seems no good, clean solution exists, safe from very longish
> > configure testing with arcane test programs.
> 
> That may very well be the case, but the current state is clearly
> broken and bogus.

yes. but certainly not worse than your suggestion.

i agree this needs to be fixed; but this isn't a fix.

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list