Author: devurandom
Date: Mon Feb 9 04:53:08 2009
New Revision: 6601
URL: http://svn.gna.org/viewcvs/warzone?rev=6601&view=rev
Log:
Provide fmaxf() / fminf() for non C99 compilers
Fixes #234.
This is not the patch attached there, since that one was broken.
>From the manpage:
DESCRIPTION
These functions return the larger value of x and y.
RETURN VALUE
These functions return the maximum of x and y.
If one argument is a NaN, the other argument is returned.
If both arguments are NaN, a NaN is returned.
Modified:
trunk/lib/framework/math-help.h
trunk/lib/framework/wzglobal.h
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits