Module Name: xsrc
Committed By: maya
Date: Sat Apr 6 10:00:13 UTC 2019
Modified Files:
xsrc/external/mit/MesaLib/dist/src/util: u_math.h
Log Message:
Use a name for the largest representable float
Actually intended to appease vax which has a floating point format
that doesn't match the same range as IEEE754 float.
(why not exp2f?)
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 xsrc/external/mit/MesaLib/dist/src/util/u_math.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/MesaLib/dist/src/util/u_math.h
diff -u xsrc/external/mit/MesaLib/dist/src/util/u_math.h:1.1.1.1 xsrc/external/mit/MesaLib/dist/src/util/u_math.h:1.2
--- xsrc/external/mit/MesaLib/dist/src/util/u_math.h:1.1.1.1 Sun Mar 10 03:42:34 2019
+++ xsrc/external/mit/MesaLib/dist/src/util/u_math.h Sat Apr 6 10:00:13 2019
@@ -117,7 +117,7 @@ util_fast_exp2(float x)
union fi epart;
if(x > 129.00000f)
- return 3.402823466e+38f;
+ return FLT_MAX;
if (x < -126.99999f)
return 0.0f;