[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58419] "integer overflow" when plotting large
From: |
Daniel Molina García |
Subject: |
[Octave-bug-tracker] [bug #58419] "integer overflow" when plotting large numbers |
Date: |
Wed, 20 May 2020 18:45:32 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0 |
URL:
<https://savannah.gnu.org/bugs/?58419>
Summary: "integer overflow" when plotting large numbers
Project: GNU Octave
Submitted by: dmolina
Submitted on: Wed 20 May 2020 10:45:30 PM UTC
Category: Plotting with gnuplot
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: dev
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
A warning is reported when plotting vectors that includes large numbers.
Sending coordinates as double to gnuplot would avoid the warning.
Example to reproduce it:
octave:1> x = linspace(0,1e10);
octave:2> graphics_toolkit gnuplot
octave:3> plot(x,x)
gnuplot> set xtics in scale 1.4 border mirror ( "0" 0, "2e+09" 2000000000,
"4e+09" 4000000000, "6e+09" 6000000000, "8e+09" 8000000000, "1e+10"
10000000000) textcolor rgb "#262626" font ",10";
^
line 0: warning: integer overflow; changing to floating point
[...]
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58419>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58419] "integer overflow" when plotting large numbers,
Daniel Molina García <=