|
From: | Marco Caliari |
Subject: | [Octave-bug-tracker] [bug #51143] Overflow result with mixed precision types |
Date: | Tue, 30 May 2017 08:54:16 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 |
URL: <http://savannah.gnu.org/bugs/?51143> Summary: Overflow result with mixed precision types Project: GNU Octave Submitted by: caliari Submitted on: Tue 30 May 2017 12:54:15 PM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: dev Operating System: GNU/Linux _______________________________________________________ Details: The following exp (100) * single (1e-20) gives Inf, even if the final result is smaller then realmax ('single'). It seems that exp (100) is converted to single before the multiplication with 1e-20. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51143> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |