File: bignum.stat

package info (click to toggle)
pspp 0.3.0-7
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,288 kB
  • ctags: 4,679
  • sloc: ansic: 57,209; sh: 2,874; makefile: 405; sed: 93; perl: 18
file content (28 lines) | stat: -rw-r--r-- 1,015 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
title 'Test use of big numbers'.

*** Do the portable output.
remark EOF
----------------------------------------------------------------------
Testing use of big numbers.\n
The numbers in the data file are designed for IEEE754 double
format--if your system uses something different then the test needs to
be adjusted for whatever are big numbers to your system.
----------------------------------------------------------------------
EOF
data list file='bignum.data'/BIGNUM 1-40.
list.

*** Do the nonportable output for fun. 
remark EOF
NOCOMP
SUCCESS?
----------------------------------------------------------------------
This test merely shows whether your system can successfully handle
floating-point overflow.  If you get a fatal exception at this point,
the source needs some editing--glob.c should mask overflow exceptions
in init_glob().  Again, the numbers are specific to IEEE754 double
format.
----------------------------------------------------------------------
EOF
descriptives BIGNUM.
rem-SUCCESS