[vorbis-dev] Video compression, edge detection, and gcc warnings

Segher Boessenkool segher at wanadoo.nl
Wed Jan 10 15:29:53 PST 2001



> Nope. To quote the manpage for rint:
> 
> SYNOPSIS
>        #include <math.h>
> 
>        double rint(double x);
> [snip]
> RETURN VALUE
>        The  rint() function returns the integer value as a float–
>        ing-point number.

Ah, c'mon Lourens... just do an

        i = (int)rint(f);

then...

Cheers,

Segher

(oh, I forgot: dagdag ;-)

--- >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