mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
Update x86.h
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
# define GLMM_POSZEROf ((int)0x00000000) /* 0x00000000 ---> +0.0f */
|
# define GLMM_POSZEROf ((int)0x00000000) /* 0x00000000 ---> +0.0f */
|
||||||
#else
|
#else
|
||||||
# ifdef CGLM_FAST_MATH
|
# ifdef CGLM_FAST_MATH
|
||||||
union { int i; float f; } static GLMM_NEGZEROf_TU = { .i = 0x80000000 };
|
union { int i; float f; } static GLMM_NEGZEROf_TU = { .i = (int)0x80000000 };
|
||||||
# define GLMM_NEGZEROf GLMM_NEGZEROf_TU.f
|
# define GLMM_NEGZEROf GLMM_NEGZEROf_TU.f
|
||||||
# define GLMM_POSZEROf 0.0f
|
# define GLMM_POSZEROf 0.0f
|
||||||
# else
|
# else
|
||||||
|
|||||||
Reference in New Issue
Block a user