[Mesa-dev] [PATCH 2/7] mesa: move FLT_MAX_EXP to c99_math.h

Emil Velikov emil.l.velikov at gmail.com
Sat Feb 28 02:48:31 PST 2015


On 28/02/15 00:47, Brian Paul wrote:
> ---
>  include/c99_math.h       | 4 ++++
>  src/mesa/main/compiler.h | 4 ----
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/include/c99_math.h b/include/c99_math.h
> index 35173c6..0a49950 100644
> --- a/include/c99_math.h
> +++ b/include/c99_math.h
> @@ -156,5 +156,9 @@ llrintf(float f)
>  #define M_LOG2E (1.4426950408889634074)
>  #endif
>  
> +#ifndef FLT_MAX_EXP
> +#define FLT_MAX_EXP 128
> +#endif
> +
>  
Strictly speaking one can move it to c99_float.h, but I may be nitpicking too much.

Cheers
Emil


More information about the mesa-dev mailing list