mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 10:50:10 +01:00
mesa: move signbit() macro to c99_math.h
Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
612143b2d0
commit
f847ddb64d
2 changed files with 8 additions and 8 deletions
|
|
@ -202,4 +202,12 @@ llrintf(float f)
|
|||
#endif /* C99 */
|
||||
|
||||
|
||||
/*
|
||||
* signbit() is a macro on Linux. Not available on Windows.
|
||||
*/
|
||||
#ifndef signbit
|
||||
#define signbit(x) ((x) < 0.0f)
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* #define _C99_MATH_H_ */
|
||||
|
|
|
|||
|
|
@ -99,14 +99,6 @@ typedef union { GLfloat f; GLint i; GLuint u; } fi_type;
|
|||
/*@}*/
|
||||
|
||||
|
||||
/*
|
||||
* signbit() is a macro on Linux. Not available on Windows.
|
||||
*/
|
||||
#ifndef signbit
|
||||
#define signbit(x) ((x) < 0.0f)
|
||||
#endif
|
||||
|
||||
|
||||
/***
|
||||
*** LOG2: Log base 2 of float
|
||||
***/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue