summaryrefslogtreecommitdiff
path: root/math/scilab/files
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2002-03-05 21:05:52 +0000
committerdmcmahill <dmcmahill>2002-03-05 21:05:52 +0000
commitec387e65c0f51e2b07ed2d18edc4d7349554f2df (patch)
treebef76cafdf0f21a17b12f594968cec816ccb287c /math/scilab/files
parent19a8fa76f93858112c632d98b3667b5700e6ea6e (diff)
downloadpkgsrc-ec387e65c0f51e2b07ed2d18edc4d7349554f2df.tar.gz
enable this on NetBSD>1.5U on alpha since alpha FPC code is now in place.
While here, add some missing headers and squish a LP64 bug. Passes all self tests and all but 2 examples on a 1.5ZA alpha.
Diffstat (limited to 'math/scilab/files')
-rw-r--r--math/scilab/files/chk_ieee.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/scilab/files/chk_ieee.c b/math/scilab/files/chk_ieee.c
new file mode 100644
index 00000000000..bb92a951fd0
--- /dev/null
+++ b/math/scilab/files/chk_ieee.c
@@ -0,0 +1,14 @@
+/* $NetBSD: chk_ieee.c,v 1.1 2002/03/05 21:05:53 dmcmahill Exp $ */
+
+#include <stdio.h>
+
+int main(int argc, char **argv)
+{
+ double x=0.0;
+ double y=1.0;
+ double z;
+
+ z=y/x;
+
+ return 0;
+}