mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 13:50:38 -04:00
20 lines
647 B
Text
20 lines
647 B
Text
--- liboctave/lo-ieee.cc.orig Sun Jun 20 23:29:47 1999
|
|
+++ liboctave/lo-ieee.cc Sun Jun 20 23:30:30 1999
|
|
@@ -70,7 +70,7 @@
|
|
octave_Inf = 1.0 / (tmp - tmp);
|
|
#elif defined (linux)
|
|
octave_Inf = HUGE_VAL;
|
|
-#elif defined (__alpha__)
|
|
+#elif defined (__alpha__) && !defined(__FreeBSD__)
|
|
extern unsigned int DINFINITY[2];
|
|
octave_Inf = (*((double *) (DINFINITY)));
|
|
#elif defined (HAVE_INFINITY)
|
|
@@ -93,7 +93,7 @@
|
|
|
|
#if defined (linux)
|
|
octave_NaN = NAN;
|
|
-#elif defined (__alpha__)
|
|
+#elif defined (__alpha__) && !defined(__FreeBSD__)
|
|
extern unsigned int DQNAN[2];
|
|
octave_NaN = (*((double *) (DQNAN)));
|
|
#elif defined (HAVE_QUIET_NAN)
|