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

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

[Octave-bug-tracker] [bug #54397] x*e-y in octave is not the same as xe-


From: Mo Marikar
Subject: [Octave-bug-tracker] [bug #54397] x*e-y in octave is not the same as xe-y. Matlab incompatibility
Date: Fri, 27 Jul 2018 14:31:36 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36

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

                 Summary: x*e-y in octave is not the same as xe-y. Matlab
incompatibility
                 Project: GNU Octave
            Submitted by: momaricks
            Submitted on: Fri 27 Jul 2018 06:31:34 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: None
             Assigned to: None
         Originator Name: Mo Marikar
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

dermal_dose_conc = 2.2*e-8;

this executes in Octave to -2.0198e+000, so the dose conc is negative

The correct expression is:

dermal_dose_conc = 2.2e-8;

In MATLAB, 2.2*e-8 throws an error. This should probably be reported as a bug
in Octave




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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