octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43531] gnuplot integer overflow with large va


From: INVALID.NOREPLY
Subject: [Octave-bug-tracker] [bug #43531] gnuplot integer overflow with large values for histogram bin centers
Date: Tue, 04 Nov 2014 22:39:28 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0

URL:
  <http://savannah.gnu.org/bugs/?43531>

                 Summary: gnuplot integer overflow with large values for
histogram bin centers
                 Project: GNU Octave
            Submitted by: mfreemon
            Submitted on: Tue 04 Nov 2014 04:39:27 PM CST
                Category: Plotting with gnuplot
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: mfreemon
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

CentOS 6.6
Linux 2.6.32-431.29.2.el6.x86_64 #1 SMP Tue Sep 9 21:36:05 UTC 2014 x86_64
x86_64 x86_64 GNU/Linux

Plotting a histogram with large values for the bin centers results in a
failure to create the X axis:

>> hist(filesizes, 0:1e9:5e10);

gnuplot> set xtics in scale  1.4 border mirror ( 0, 1000000000, 2000000000,
3000000000, 4000000000, 5000000000, 6000000000, 7000000000, 8000000000,
9000000000, 10000000000, 11000000000, 12000000000, 13000000000, 14000000000,
15000000000, 16000000000, 17000000000, 18000000000, 19000000000, 20000000000,
21000000000, 22000000000, 23000000000, 24000000000, 25000000000, 26000000000,
27000000000, 28000000000, 29000000000, 30000000000, 31000000000, 32000000000,
33000000000, 34000000000, 35000000000, 36000000000, 37000000000, 38000000000,
39000000000, 40000000000, 41000000000, 42000000000, 43000000000, 44000000000,
45000000000, 46000000000, 47000000000, 48000000000, 49000000000,
50000000000)font "{},10";
                                                                            ^
         line 0: integer overflow; change to floating point
>>

The root problem is fundamentally the same as bug #33059.  I will attach a
patch for this one momentarily.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43531>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]