summaryrefslogtreecommitdiff
path: root/math/dcdflib/files
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2016-07-04 20:48:23 +0000
committerRene Ladan <rene@FreeBSD.org>2016-07-04 20:48:23 +0000
commit19f31a471be151c3b37c2a53435168e9ee3e74cf (patch)
tree239999706f3f6d8d0babe480ab358d7675c96f78 /math/dcdflib/files
parentUpdate converters/wkhtmltopdf to 0.12.3.2 (diff)
Remove expired ports without open PRs:
2016-07-04 security/openpgpsdk: Broken for more than 6 months 2016-07-04 security/radiusniff: Broken for more than 6 months 2016-07-04 security/pear-Auth_OpenID: Broken for more than 6 months 2016-07-04 security/sshit: Broken for more than 6 months 2016-07-04 security/ifd-slb_rf60: Broken for more than 6 months 2016-07-04 security/rainbowcrack: Broken for more than 6 months 2016-07-04 security/vlog: Broken for more than 6 months 2016-07-04 security/cryptstring: Broken for more than 6 months 2016-07-04 x11/libdnd: Broken for more than 6 months 2016-07-04 x11/xlupe: Broken for more than 6 months 2016-07-04 x11/xco: Broken for more than 6 months 2016-07-04 x11/xclick: Broken for more than 6 months 2016-07-04 devel/ocfpcsc: Broken for more than 6 months 2016-07-04 devel/dits: Broken for more than 6 months 2016-07-04 devel/ruby-cache: Broken for more than 6 months 2016-07-04 devel/rapidsvn: Broken for more than 6 months 2016-07-04 devel/svnkit: Broken for more than 6 months 2016-07-04 devel/py-EnthoughtBase: Broken for more than 6 months 2016-07-04 devel/cl-uffi: Broken for more than 6 months 2016-07-04 devel/ruby-event-loop: Broken for more than 6 months 2016-07-04 devel/libqxt: Broken for more than 6 months 2016-07-04 devel/dasm: Broken for more than 6 months 2016-07-04 devel/libopendaap: Broken for more than 6 months 2016-07-04 devel/cl-uffi-sbcl: Depends on expiring devel/cl-uffi 2016-07-04 devel/cvs2p4: Broken for more than 6 months 2016-07-04 devel/bufferpool: Broken for more than 6 months 2016-07-04 devel/ifd-test: Broken for more than 6 months 2016-07-04 devel/eric4: Broken for more than 6 months 2016-07-04 devel/uclmmbase: Broken for more than 6 months 2016-07-04 devel/obfuscatejs: Broken for more than 6 months 2016-07-04 devel/oniguruma: Broken for more than 6 months 2016-07-04 devel/libbnr: Broken for more than 6 months 2016-07-04 devel/c4: Broken for more than 6 months 2016-07-04 devel/memcheck: Broken for more than 6 months 2016-07-04 devel/liblcfg: Broken for more than 6 months 2016-07-04 devel/omake: Broken for more than 6 months 2016-07-04 devel/svndelta: Broken for more than 6 months 2016-07-04 devel/papp: Broken for more than 6 months 2016-07-04 devel/mk: Broken for more than 6 months 2016-07-04 devel/avltree: Broken for more than 6 months 2016-07-04 devel/cbind: Broken for more than 6 months 2016-07-04 devel/tclgetopts: Broken for more than 6 months 2016-07-04 devel/antlrworks: Broken for more than 6 months 2016-07-04 devel/acme: Broken for more than 6 months 2016-07-04 devel/libopensync022: Broken for more than 6 months 2016-07-04 archivers/epkg: Broken for more than 6 months 2016-07-04 print/enscriptfonts: Broken for more than 6 months 2016-07-04 print/mup: Broken for more than 6 months 2016-07-04 lang/lua-mode.el: Broken for more than 6 months 2016-07-04 lang/s9fes: Broken for more than 6 months 2016-07-04 lang/alisp: Broken for more than 6 months 2016-07-04 lang/intel2gas: Broken for more than 6 months 2016-07-04 lang/stalin: Broken for more than 6 months 2016-07-04 french/eric4: Depends on expiring devel/eric4 2016-07-04 textproc/exslt: Broken for more than 6 months 2016-07-04 textproc/xt: Broken for more than 6 months 2016-07-04 textproc/ssddiff: Broken for more than 6 months 2016-07-04 textproc/xslint: Broken for more than 6 months 2016-07-04 textproc/cbedic: Broken for more than 6 months 2016-07-04 textproc/tralics: Broken for more than 6 months 2016-07-04 textproc/docbookide.el: Broken for more than 6 months 2016-07-04 textproc/glpi-plugins-AdditionalReports: Broken for more than 6 months 2016-07-04 textproc/tdhkit: Broken for more than 6 months 2016-07-04 textproc/p5-Groonga-API: Broken for more than 6 months 2016-07-04 textproc/glpi-plugins-DataInjection: Broken for more than 6 months 2016-07-04 dns/ldnsm: Broken for more than 6 months 2016-07-04 japanese/guesswork-classic: Broken for more than 6 months 2016-07-04 japanese/texinfo: Broken for more than 6 months 2016-07-04 japanese/jyuroku: Broken for more than 6 months 2016-07-04 japanese/mtools: Broken for more than 6 months 2016-07-04 palm/pdbar: Broken for more than 6 months 2016-07-04 graphics/gplot: Broken for more than 6 months 2016-07-04 graphics/white_dune: Broken for more than 6 months 2016-07-04 graphics/whirlgif: Broken for more than 6 months 2016-07-04 graphics/libaux: Broken for more than 6 months 2016-07-04 graphics/import-pictures: Broken for more than 6 months 2016-07-04 math/xgobi: Broken for more than 6 months 2016-07-04 math/fricas: Broken for more than 6 months 2016-07-04 math/dcdflib: Broken for more than 6 months 2016-07-04 math/libneural: Broken for more than 6 months 2016-07-04 math/open-axiom: Broken for more than 6 months 2016-07-04 irc/nefarious: Broken for more than 6 months 2016-07-04 irc/slirc: Broken for more than 6 months 2016-07-04 irc/ratbox-respond: Broken for more than 6 months 2016-07-04 irc/qwebirc: Broken for more than 6 months 2016-07-04 biology/platon: Broken for more than 6 months 2016-07-04 news/slnr: Broken for more than 6 months 2016-07-04 science/jmol: Broken for more than 6 months 2016-07-04 net/nstxd: Broken for more than 6 months 2016-07-04 net/sprinkle: Broken for more than 6 months 2016-07-04 editors/ssam: Broken for more than 6 months 2016-07-04 editors/fb: Broken for more than 6 months 2016-07-04 misc/quotes: Broken for more than 6 months 2016-07-04 misc/boxquote.el: Broken for more than 6 months 2016-07-04 misc/pypanda: Broken for more than 6 months 2016-07-04 misc/cuecat: Broken for more than 6 months 2016-07-04 deskutils/displaycalibrator: Broken for more than 6 months 2016-07-04 german/eric4: Depends on expiring devel/eric4 2016-07-04 multimedia/vic: Depends on expiring devel/uclmmbase 2016-07-04 multimedia/ggrab: Broken for more than 6 months 2016-07-04 emulators/dynamips: Broken for more than 6 months 2016-07-04 emulators/dynamips-devel: Broken for more than 6 months 2016-07-04 emulators/sim6811: Broken for more than 6 months 2016-07-04 emulators/minivmac: Broken for more than 6 months 2016-07-04 cad/qcad-partslib: Broken for more than 6 months 2016-07-04 comms/dump1090_mr: Broken for more than 6 months 2016-07-04 x11-fm/asfiles: Depends on expiring x11/libdnd 2016-07-04 x11-fonts/fonts-te: Broken for more than 6 months 2016-07-04 sysutils/rsyncmanager: Broken for more than 6 months 2016-07-04 sysutils/jfbterm: Broken for more than 6 months 2016-07-04 sysutils/daedalus: Broken for more than 6 months 2016-07-04 sysutils/pcfclock: Broken for more than 6 months 2016-07-04 sysutils/vlogger: Broken for more than 6 months 2016-07-04 sysutils/bontmia: Broken for more than 6 months 2016-07-04 mail/pop3gwd: Broken for more than 6 months 2016-07-04 mail/mailtray: Broken for more than 6 months 2016-07-04 mail/pflogstats: Broken for more than 6 months 2016-07-04 mail/exact: Broken for more than 6 months 2016-07-04 mail/wmpop3: Broken for more than 6 months 2016-07-04 mail/qmail-conf: Broken for more than 6 months 2016-07-04 mail/gld: Broken for more than 6 months 2016-07-04 mail/dsbl-testers: Broken for more than 6 months 2016-07-04 mail/vqregister: Broken for more than 6 months 2016-07-04 mail/atmail: Broken for more than 6 months 2016-07-04 mail/ml: Broken for more than 6 months 2016-07-04 net-im/icb: Broken for more than 6 months 2016-07-04 net-im/cicquin: Broken for more than 6 months 2016-07-04 net-im/pidgin-manualsize: Broken for more than 6 months 2016-07-04 net-im/pidgin-rhythmbox: Broken for more than 6 months 2016-07-04 russian/eric4: Depends on expiring devel/eric4 2016-07-04 russian/fortune-bashorgru: Broken for more than 6 months 2016-07-04 www/xpi-clearfields: Broken for more than 6 months 2016-07-04 www/pecl-varnish: Broken for more than 6 months 2016-07-04 www/py-requests-oauth-hook: Broken for more than 6 months 2016-07-04 www/hudson: Broken for more than 6 months 2016-07-04 www/xpi-mldonkey: Broken for more than 6 months 2016-07-04 www/xpi-cookiesafe: Broken for more than 6 months 2016-07-04 www/trac-mastertickets: Broken for more than 6 months 2016-07-04 www/dotclear: Broken for more than 6 months 2016-07-04 www/ruby-wgettsv: Broken for more than 6 months 2016-07-04 www/wwwstat: Broken for more than 6 months 2016-07-04 www/xpi-prism: Broken for more than 6 months 2016-07-04 www/xpi-fasterfox: Broken for more than 6 months 2016-07-04 www/siteframe: Broken for more than 6 months 2016-07-04 www/py-urljr: Broken for more than 6 months 2016-07-04 www/reviewboard: Broken for more than 6 months 2016-07-04 www/xpi-tabletools: Broken for more than 6 months 2016-07-04 www/wikindx: Broken for more than 6 months 2016-07-04 www/typolight: Broken for more than 6 months 2016-07-04 www/varnish-libvmod-header: Broken for more than 6 months 2016-07-04 www/xpi-gbrain: Broken for more than 6 months 2016-07-04 www/trac-robotstxt: Broken for more than 6 months 2016-07-04 www/simplog: Broken for more than 6 months 2016-07-04 www/chtml: Broken for more than 6 months 2016-07-04 databases/postgresql_autodoc: Broken for more than 6 months 2016-07-04 databases/oracle_odbc_driver: Broken for more than 6 months 2016-07-04 databases/mysql-xql: Broken for more than 6 months 2016-07-04 databases/mysql-udf-sys: Broken for more than 6 months 2016-07-04 games/lucidlife: Broken for more than 6 months 2016-07-04 games/gma: Broken for more than 6 months 2016-07-04 games/smiley: Broken for more than 6 months 2016-07-04 games/noegnud-littlehack: Broken for more than 6 months 2016-07-04 games/sdlquake2: Broken for more than 6 months 2016-07-04 games/daimonin: Depends on expiring games/daimonin-music 2016-07-04 games/noegnud-nethack: Broken for more than 6 months 2016-07-04 games/xbomber: Broken for more than 6 months 2016-07-04 games/xwelltris: Broken for more than 6 months 2016-07-04 games/ftjava: Broken for more than 6 months 2016-07-04 games/daimonin-music: Broken for more than 6 months 2016-07-04 games/gno3dtet: Broken for more than 6 months 2016-07-04 games/qtv: Broken for more than 6 months 2016-07-04 games/xwordpy: Broken for more than 6 months 2016-07-04 games/netris: Broken for more than 6 months 2016-07-04 games/rt2-demo: Broken for more than 6 months 2016-07-04 games/noegnud-addons: Broken for more than 6 months 2016-07-04 games/noegnud-nethack-deet: Broken for more than 6 months 2016-07-04 games/live-f1: Broken for more than 6 months 2016-07-04 games/xonix: Broken for more than 6 months 2016-07-04 games/fgkicker: Broken for more than 6 months 2016-07-04 games/tank: Depends on expiring graphics/libaux 2016-07-04 games/linux-nwserver: Broken for more than 6 months 2016-07-04 games/quake2-zaero: Broken for more than 6 months 2016-07-04 games/pyching: Broken for more than 6 months 2016-07-04 games/thevalley: Broken for more than 6 months 2016-07-04 games/xroads: Broken for more than 6 months 2016-07-04 games/fxsudoku: Broken for more than 6 months 2016-07-04 games/sudoku: Broken for more than 6 months 2016-07-04 games/kmancala: Broken for more than 6 months 2016-07-04 games/plonx: Broken for more than 6 months 2016-07-04 games/wmminichess: Broken for more than 6 months 2016-07-04 games/noegnud-slashem: Broken for more than 6 months 2016-07-04 games/latrine: Broken for more than 6 months 2016-07-04 games/pysycache-themes: Broken for more than 6 months 2016-07-04 games/nibbles: Broken for more than 6 months 2016-07-04 games/hlstatsx: Broken for more than 6 months 2016-07-04 audio/streamtuner: Broken for more than 6 months 2016-07-04 audio/mangler: Broken for more than 6 months 2016-07-04 audio/hawkvoice: Broken for more than 6 months 2016-07-04 audio/alac: Broken for more than 6 months 2016-07-04 x11-wm/e-module-mpdule: Broken for more than 6 months 2016-07-04 x11-wm/e-module-tclock: Broken for more than 6 months 2016-07-04 x11-wm/musca: Broken for more than 6 months 2016-07-04 x11-wm/e-module-places: Broken for more than 6 months 2016-07-04 x11-wm/e-module-forecasts: Broken for more than 6 months 2016-07-04 x11-wm/e-module-net: Broken for more than 6 months 2016-07-04 x11-wm/e-module-penguins: Broken for more than 6 months 2016-07-04 ftp/fget: Broken for more than 6 months 2016-07-04 net-mgmt/netmond: Broken for more than 6 months 2016-07-04 net-mgmt/ipfm: Broken for more than 6 months
Notes
Notes: svn path=/head/; revision=418057
Diffstat (limited to 'math/dcdflib/files')
-rw-r--r--math/dcdflib/files/Makefile.lib16
-rw-r--r--math/dcdflib/files/patch-ipmpar.c451
2 files changed, 0 insertions, 467 deletions
diff --git a/math/dcdflib/files/Makefile.lib b/math/dcdflib/files/Makefile.lib
deleted file mode 100644
index 895578c8cbf4..000000000000
--- a/math/dcdflib/files/Makefile.lib
+++ /dev/null
@@ -1,16 +0,0 @@
-# makefile for dcdflib sources
-
-LIBDIR = ${PREFIX}/lib
-
-SHLIB_MAJOR= 1
-SHLIB_MINOR= 1
-LIB= dcdflib
-
-SRCS= dcdflib.c ipmpar.c
-CFLAGS?= -O2
-
-beforeinstall:
- ${BSD_INSTALL_DATA} ${.CURDIR}/../doc/dcdflib.h \
- ${DESTDIR}${PREFIX}/include
-
-.include <bsd.lib.mk>
diff --git a/math/dcdflib/files/patch-ipmpar.c b/math/dcdflib/files/patch-ipmpar.c
deleted file mode 100644
index 6c2fcd402e1a..000000000000
--- a/math/dcdflib/files/patch-ipmpar.c
+++ /dev/null
@@ -1,451 +0,0 @@
---- ipmpar.c.orig Tue Sep 8 14:19:45 1998
-+++ ipmpar.c Tue Sep 8 14:11:24 1998
-@@ -1,426 +1,24 @@
--int ipmpar(int*);
--/*
-------------------------------------------------------------------------
--
-- IPMPAR PROVIDES THE INTEGER MACHINE CONSTANTS FOR THE COMPUTER
-- THAT IS USED. IT IS ASSUMED THAT THE ARGUMENT I IS AN INTEGER
-- HAVING ONE OF THE VALUES 1-10. IPMPAR(I) HAS THE VALUE ...
--
-- INTEGERS.
--
-- ASSUME INTEGERS ARE REPRESENTED IN THE N-DIGIT, BASE-A FORM
--
-- SIGN ( X(N-1)*A**(N-1) + ... + X(1)*A + X(0) )
--
-- WHERE 0 .LE. X(I) .LT. A FOR I=0,...,N-1.
--
-- IPMPAR(1) = A, THE BASE.
--
-- IPMPAR(2) = N, THE NUMBER OF BASE-A DIGITS.
--
-- IPMPAR(3) = A**N - 1, THE LARGEST MAGNITUDE.
--
-- FLOATING-POINT NUMBERS.
--
-- IT IS ASSUMED THAT THE SINGLE AND DOUBLE PRECISION FLOATING
-- POINT ARITHMETICS HAVE THE SAME BASE, SAY B, AND THAT THE
-- NONZERO NUMBERS ARE REPRESENTED IN THE FORM
--
-- SIGN (B**E) * (X(1)/B + ... + X(M)/B**M)
--
-- WHERE X(I) = 0,1,...,B-1 FOR I=1,...,M,
-- X(1) .GE. 1, AND EMIN .LE. E .LE. EMAX.
--
-- IPMPAR(4) = B, THE BASE.
--
-- SINGLE-PRECISION
--
-- IPMPAR(5) = M, THE NUMBER OF BASE-B DIGITS.
--
-- IPMPAR(6) = EMIN, THE SMALLEST EXPONENT E.
--
-- IPMPAR(7) = EMAX, THE LARGEST EXPONENT E.
--
-- DOUBLE-PRECISION
--
-- IPMPAR(8) = M, THE NUMBER OF BASE-B DIGITS.
--
-- IPMPAR(9) = EMIN, THE SMALLEST EXPONENT E.
--
-- IPMPAR(10) = EMAX, THE LARGEST EXPONENT E.
--
-------------------------------------------------------------------------
--
-- TO DEFINE THIS FUNCTION FOR THE COMPUTER BEING USED REMOVE
-- THE COMMENT DELIMITORS FROM THE DEFINITIONS DIRECTLY BELOW THE NAME
-- OF THE MACHINE
--
-------------------------------------------------------------------------
--
-- IPMPAR IS AN ADAPTATION OF THE FUNCTION I1MACH, WRITTEN BY
-- P.A. FOX, A.D. HALL, AND N.L. SCHRYER (BELL LABORATORIES).
-- IPMPAR WAS FORMED BY A.H. MORRIS (NSWC). THE CONSTANTS ARE
-- FROM BELL LABORATORIES, NSWC, AND OTHER SOURCES.
--
-------------------------------------------------------------------------
-- .. Scalar Arguments ..
--*/
--int ipmpar(int *i)
--{
--static int imach[11];
--static int ipmpar;
--/* MACHINE CONSTANTS FOR AMDAHL MACHINES. */
--/*
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 16;
-- imach[5] = 6;
-- imach[6] = -64;
-- imach[7] = 63;
-- imach[8] = 14;
-- imach[9] = -64;
-- imach[10] = 63;
--*/
--/* MACHINE CONSTANTS FOR THE AT&T 3B SERIES, AT&T
-- PC 7300, AND AT&T 6300. */
--/*
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 2;
-- imach[5] = 24;
-- imach[6] = -125;
-- imach[7] = 128;
-- imach[8] = 53;
-- imach[9] = -1021;
-- imach[10] = 1024;
--*/
--/* MACHINE CONSTANTS FOR THE BURROUGHS 1700 SYSTEM. */
--/*
-- imach[1] = 2;
-- imach[2] = 33;
-- imach[3] = 8589934591;
-- imach[4] = 2;
-- imach[5] = 24;
-- imach[6] = -256;
-- imach[7] = 255;
-- imach[8] = 60;
-- imach[9] = -256;
-- imach[10] = 255;
--*/
--/* MACHINE CONSTANTS FOR THE BURROUGHS 5700 SYSTEM. */
--/*
-- imach[1] = 2;
-- imach[2] = 39;
-- imach[3] = 549755813887;
-- imach[4] = 8;
-- imach[5] = 13;
-- imach[6] = -50;
-- imach[7] = 76;
-- imach[8] = 26;
-- imach[9] = -50;
-- imach[10] = 76;
--*/
--/* MACHINE CONSTANTS FOR THE BURROUGHS 6700/7700 SYSTEMS. */
--/*
-- imach[1] = 2;
-- imach[2] = 39;
-- imach[3] = 549755813887;
-- imach[4] = 8;
-- imach[5] = 13;
-- imach[6] = -50;
-- imach[7] = 76;
-- imach[8] = 26;
-- imach[9] = -32754;
-- imach[10] = 32780;
--*/
--/* MACHINE CONSTANTS FOR THE CDC 6000/7000 SERIES
-- 60 BIT ARITHMETIC, AND THE CDC CYBER 995 64 BIT
-- ARITHMETIC (NOS OPERATING SYSTEM). */
--/*
-- imach[1] = 2;
-- imach[2] = 48;
-- imach[3] = 281474976710655;
-- imach[4] = 2;
-- imach[5] = 48;
-- imach[6] = -974;
-- imach[7] = 1070;
-- imach[8] = 95;
-- imach[9] = -926;
-- imach[10] = 1070;
--*/
--/* MACHINE CONSTANTS FOR THE CDC CYBER 995 64 BIT
-- ARITHMETIC (NOS/VE OPERATING SYSTEM). */
--/*
-- imach[1] = 2;
-- imach[2] = 63;
-- imach[3] = 9223372036854775807;
-- imach[4] = 2;
-- imach[5] = 48;
-- imach[6] = -4096;
-- imach[7] = 4095;
-- imach[8] = 96;
-- imach[9] = -4096;
-- imach[10] = 4095;
--*/
--/* MACHINE CONSTANTS FOR THE CRAY 1, XMP, 2, AND 3. */
--/*
-- imach[1] = 2;
-- imach[2] = 63;
-- imach[3] = 9223372036854775807;
-- imach[4] = 2;
-- imach[5] = 47;
-- imach[6] = -8189;
-- imach[7] = 8190;
-- imach[8] = 94;
-- imach[9] = -8099;
-- imach[10] = 8190;
--*/
--/* MACHINE CONSTANTS FOR THE DATA GENERAL ECLIPSE S/200. */
--/*
-- imach[1] = 2;
-- imach[2] = 15;
-- imach[3] = 32767;
-- imach[4] = 16;
-- imach[5] = 6;
-- imach[6] = -64;
-- imach[7] = 63;
-- imach[8] = 14;
-- imach[9] = -64;
-- imach[10] = 63;
--*/
--/* MACHINE CONSTANTS FOR THE HARRIS 220. */
--/*
-- imach[1] = 2;
-- imach[2] = 23;
-- imach[3] = 8388607;
-- imach[4] = 2;
-- imach[5] = 23;
-- imach[6] = -127;
-- imach[7] = 127;
-- imach[8] = 38;
-- imach[9] = -127;
-- imach[10] = 127;
--*/
--/* MACHINE CONSTANTS FOR THE HONEYWELL 600/6000
-- AND DPS 8/70 SERIES. */
--/*
-- imach[1] = 2;
-- imach[2] = 35;
-- imach[3] = 34359738367;
-- imach[4] = 2;
-- imach[5] = 27;
-- imach[6] = -127;
-- imach[7] = 127;
-- imach[8] = 63;
-- imach[9] = -127;
-- imach[10] = 127;
--*/
--/* MACHINE CONSTANTS FOR THE HP 2100
-- 3 WORD DOUBLE PRECISION OPTION WITH FTN4 */
--/*
-- imach[1] = 2;
-- imach[2] = 15;
-- imach[3] = 32767;
-- imach[4] = 2;
-- imach[5] = 23;
-- imach[6] = -128;
-- imach[7] = 127;
-- imach[8] = 39;
-- imach[9] = -128;
-- imach[10] = 127;
--*/
--/* MACHINE CONSTANTS FOR THE HP 2100
-- 4 WORD DOUBLE PRECISION OPTION WITH FTN4 */
--/*
-- imach[1] = 2;
-- imach[2] = 15;
-- imach[3] = 32767;
-- imach[4] = 2;
-- imach[5] = 23;
-- imach[6] = -128;
-- imach[7] = 127;
-- imach[8] = 55;
-- imach[9] = -128;
-- imach[10] = 127;
--*/
--/* MACHINE CONSTANTS FOR THE HP 9000. */
--/*
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 2;
-- imach[5] = 24;
-- imach[6] = -126;
-- imach[7] = 128;
-- imach[8] = 53;
-- imach[9] = -1021;
-- imach[10] = 1024;
--*/
--/* MACHINE CONSTANTS FOR THE IBM 360/370 SERIES,
-- THE ICL 2900, THE ITEL AS/6, THE XEROX SIGMA
-- 5/7/9 AND THE SEL SYSTEMS 85/86. */
--/*
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 16;
-- imach[5] = 6;
-- imach[6] = -64;
-- imach[7] = 63;
-- imach[8] = 14;
-- imach[9] = -64;
-- imach[10] = 63;
--*/
--/* MACHINE CONSTANTS FOR THE IBM PC. */
--/*
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 2;
-- imach[5] = 24;
-- imach[6] = -125;
-- imach[7] = 128;
-- imach[8] = 53;
-- imach[9] = -1021;
-- imach[10] = 1024;
--*/
--/* MACHINE CONSTANTS FOR THE MACINTOSH II - ABSOFT
-- MACFORTRAN II. */
--/*
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 2;
-- imach[5] = 24;
-- imach[6] = -125;
-- imach[7] = 128;
-- imach[8] = 53;
-- imach[9] = -1021;
-- imach[10] = 1024;
--*/
--/* MACHINE CONSTANTS FOR THE MICROVAX - VMS FORTRAN. */
--/*
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 2;
-- imach[5] = 24;
-- imach[6] = -127;
-- imach[7] = 127;
-- imach[8] = 56;
-- imach[9] = -127;
-- imach[10] = 127;
--*/
--/* MACHINE CONSTANTS FOR THE PDP-10 (KA PROCESSOR). */
--/*
-- imach[1] = 2;
-- imach[2] = 35;
-- imach[3] = 34359738367;
-- imach[4] = 2;
-- imach[5] = 27;
-- imach[6] = -128;
-- imach[7] = 127;
-- imach[8] = 54;
-- imach[9] = -101;
-- imach[10] = 127;
--*/
--/* MACHINE CONSTANTS FOR THE PDP-10 (KI PROCESSOR). */
--/*
-- imach[1] = 2;
-- imach[2] = 35;
-- imach[3] = 34359738367;
-- imach[4] = 2;
-- imach[5] = 27;
-- imach[6] = -128;
-- imach[7] = 127;
-- imach[8] = 62;
-- imach[9] = -128;
-- imach[10] = 127;
--*/
--/* MACHINE CONSTANTS FOR THE PDP-11 FORTRAN SUPPORTING
-- 32-BIT INTEGER ARITHMETIC. */
--/*
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 2;
-- imach[5] = 24;
-- imach[6] = -127;
-- imach[7] = 127;
-- imach[8] = 56;
-- imach[9] = -127;
-- imach[10] = 127;
--*/
--/* MACHINE CONSTANTS FOR THE SEQUENT BALANCE 8000. */
--/*
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 2;
-- imach[5] = 24;
-- imach[6] = -125;
-- imach[7] = 128;
-- imach[8] = 53;
-- imach[9] = -1021;
-- imach[10] = 1024;
--*/
--/* MACHINE CONSTANTS FOR THE SILICON GRAPHICS IRIS-4D
-- SERIES (MIPS R3000 PROCESSOR). */
--/*
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 2;
-- imach[5] = 24;
-- imach[6] = -125;
-- imach[7] = 128;
-- imach[8] = 53;
-- imach[9] = -1021;
-- imach[10] = 1024;
--*/
--/* MACHINE CONSTANTS FOR IEEE ARITHMETIC MACHINES, SUCH AS THE AT&T
-- 3B SERIES, MOTOROLA 68000 BASED MACHINES (E.G. SUN 3 AND AT&T
-- PC 7300), AND 8087 BASED MICROS (E.G. IBM PC AND AT&T 6300). */
--
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 2;
-- imach[5] = 24;
-- imach[6] = -125;
-- imach[7] = 128;
-- imach[8] = 53;
-- imach[9] = -1021;
-- imach[10] = 1024;
-+#include <float.h>
-+#include <limits.h>
-
--/* MACHINE CONSTANTS FOR THE UNIVAC 1100 SERIES. */
--/*
-- imach[1] = 2;
-- imach[2] = 35;
-- imach[3] = 34359738367;
-- imach[4] = 2;
-- imach[5] = 27;
-- imach[6] = -128;
-- imach[7] = 127;
-- imach[8] = 60;
-- imach[9] = -1024;
-- imach[10] = 1023;
--*/
--/* MACHINE CONSTANTS FOR THE VAX 11/780. */
--/*
-- imach[1] = 2;
-- imach[2] = 31;
-- imach[3] = 2147483647;
-- imach[4] = 2;
-- imach[5] = 24;
-- imach[6] = -127;
-- imach[7] = 127;
-- imach[8] = 56;
-- imach[9] = -127;
-- imach[10] = 127;
--*/
-- ipmpar = imach[*i];
-- return ipmpar;
-+int ipmpar( int *i)
-+{
-+ static int imach[11] = {
-+ 0, /* dummy zeroth index */
-+ /* integers */
-+ 2, /* base; you are on the binary machine, aren't you? */
-+ sizeof(int)*(CHAR_BIT)-1,
-+ INT_MAX,
-+ /* all floats */
-+ FLT_RADIX,
-+ /* single precision floats */
-+ FLT_MANT_DIG,
-+ FLT_MIN_EXP,
-+ FLT_MAX_EXP,
-+ /* double precision floats */
-+ DBL_MANT_DIG,
-+ DBL_MIN_EXP,
-+ DBL_MAX_EXP,
-+ };
-+ return imach[*i];
- }