Module Name:    xsrc
Committed By:   mrg
Date:           Tue Jul  2 07:31:12 UTC 2024

Modified Files:
        xsrc/external/mit/libX11/dist/src/xcms: cmsTrig.c

Log Message:
restore vax fp code removed here in libX11 1.8.8.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c

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/libX11/dist/src/xcms/cmsTrig.c
diff -u xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c:1.5 xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c:1.6
--- xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c:1.5	Tue Jul  2 07:29:21 2024
+++ xsrc/external/mit/libX11/dist/src/xcms/cmsTrig.c	Tue Jul  2 07:31:12 2024
@@ -71,7 +71,11 @@ _XcmsModuloF(
 #define XCMS_SIXTHPI		0.523598775598298820
 #define XCMS_RADIANS(d)		((d) * XCMS_PI / 180.0)
 #define XCMS_DEGREES(r)		((r) * 180.0 / XCMS_PI)
+#ifdef __vax__
+#define XCMS_X6_UNDERFLOWS	(3.784659e-07)  /* X**6 almost underflows*/
+#else
 #define XCMS_X6_UNDERFLOWS	(4.209340e-52)	/* X**6 almost underflows */
+#endif
 #define XCMS_X16_UNDERFLOWS	(5.421010e-20)	/* X**16 almost underflows*/
 #define XCMS_CHAR_BIT		8
 #define XCMS_LONG_MAX		0x7FFFFFFF

Reply via email to