moved fminf+fmaxf to sysdep
This was SVN commit r372.
This commit is contained in:
parent
af3949ab7a
commit
f84bc36ca3
@ -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)
|
||||
{
|
||||
|
@ -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!
|
||||
|
Loading…
Reference in New Issue
Block a user