1
0
forked from 0ad/0ad

moved fminf+fmaxf to sysdep

This was SVN commit r372.
This commit is contained in:
janwas 2004-06-02 21:50:50 +00:00
parent af3949ab7a
commit f84bc36ca3
2 changed files with 0 additions and 21 deletions

View File

@ -271,19 +271,6 @@ u16 subusw(u16 x, u16 y)
}
// provide fminf for non-C99 compilers
#ifndef HAVE_C99
float fminf(float a, float b)
{
return (a < b)? a : b;
}
#endif
// input in [0, 1); convert to u8 range
u8 fp_to_u8(double in)
{

View File

@ -254,14 +254,6 @@ extern int ilog2(const int n);
extern uintptr_t round_up(uintptr_t val, uintptr_t multiple);
// provide fminf for non-C99 compilers
#ifndef HAVE_C99
extern float fminf(float, float);
#endif
extern u16 fp_to_u16(double in);
// big endian!