🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #72545

Re: GNUPLOT: restriction on data size?

#72545
From: Gregory A. Landrum
Date: Fri, 31 Jan 1992 20:11
24 lines
1520 bytes
>I have been getting floating exceptions when reading things in to
>gnugraph.
>   I believ this is because my data is large (e+100 - e+200).
>
>   Is there a restriction on data size for gnugraph, and what is it?
>Thanks!
>-mike

I just tried to duplicate this problem and succeeded.
It seems that the program will plot functions with values which range
up to at least 1e+255 (just try plotting exp(x*x) ), but it will not
read in data values nearly that large.
I tried getting it to read in a series of points around 1e+100 and got
an 'all points undefined' message.
The problem seems to go away if the maximum value is around 1e+38.

I did a quick grep through the source and it seems like every scanf
uses %lf (which is right for doubles), so that isn't the problem.

This is kind of a wacky bug.

Any clues?

-greg
Technical Details
Message-ID: <0dWOq0y00VpJ02hIgP@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!udel!rochester!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!gl10+
References: <1992Jan31.161659.6528@rice.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 12:46:14 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!darwin.sura.net!udel!rochester!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!gl10+
From: gl10+@andrew.cmu.edu (Gregory A. Landrum)
Newsgroups: gnu.misc.discuss
Subject: Re: GNUPLOT: restriction on data size?
Message-ID: <0dWOq0y00VpJ02hIgP@andrew.cmu.edu>
Date: 31 Jan 92 20:11:44 GMT
References: <1992Jan31.161659.6528@rice.edu>
Organization: Senior, Chemistry, Carnegie Mellon, Pittsburgh, PA
Lines: 24
In-Reply-To: <1992Jan31.161659.6528@rice.edu>