🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #72458

Re: GNUPLOT: restriction on data size?

#72458
From: user name unknown
Date: Sat, 01 Feb 1992 02:24
18 lines
1705 bytes
In article <0dWOq0y00VpJ02hIgP@andrew.cmu.edu> gl10+@andrew.cmu.edu (Gregory A. Landrum) writes:
[Referring to problems with huge data values in gnuplot]
>The problem seems to go away if the maximum value is around 1e+38.

1e+38 "just happens" to be the largest representable floating point
number in IEEE single precision (32 bit) floating point (and on both
single and the most common double precision floating point on Vaxen).
Many (most) C implementations use IEEE single to represent "float".

This strongly suggests that "float" variables are being used to store
things, when "double" might be more appropriate.  Actually, a machine-
specific typedef would probably be better, because different systems
*do* vary on this.

- Jonathan Thornburg
  University of British Columbia Astronomy and Physics,
  and University of Texas at Austin Physics/Relativity
  <jonathan@einstein.ph.utexas.edu>
Technical Details
Message-ID: <1992Feb1.022443.24076@chpc.utexas.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!morrow.stanford.edu!decwrl!csus.edu!wupost!news.utdallas.edu!hermes.chpc.utexas.edu!jonathan
References: <1992Jan31.161659.6528@rice.edu> <0dWOq0y00VpJ02hIgP@andrew.cmu.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1025b4,2e72fd148fc31f71
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1992-01-31 22:51:42 PST
Newsgroups: gnu.misc.discuss
Path: arc1-ca.pugleaf.net!sparky!uunet!morrow.stanford.edu!decwrl!csus.edu!wupost!news.utdallas.edu!hermes.chpc.utexas.edu!jonathan
From: jonathan@chpc.utexas.edu (user name unknown)
Subject: Re: GNUPLOT: restriction on data size?
Message-ID: <1992Feb1.022443.24076@chpc.utexas.edu>
Summary: 1e+38 "just happens" to be the max IEEE single (= C "float") fp number
Sender: Jonathan Thornburg <jonathan@einstein.ph.utexas.edu>
Organization: The University of Texas System - CHPC
References: <1992Jan31.161659.6528@rice.edu> <0dWOq0y00VpJ02hIgP@andrew.cmu.edu>
Date: Sat, 1 Feb 92 02:24:43 GMT
Lines: 18