gnuastro-devel
[Top][All Lists]
Advanced

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

[bug #62564] Arithmetic not parsing numbers like 1e5


From: Mohammad Akhlaghi
Subject: [bug #62564] Arithmetic not parsing numbers like 1e5
Date: Thu, 2 Jun 2022 10:17:21 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62564>

                 Summary: Arithmetic not parsing numbers like 1e5
                 Project: GNU Astronomy Utilities
               Submitter: makhlaghi
               Submitted: Thu 02 Jun 2022 03:17:19 PM BST
                Category: Arithmetic
                Severity: 3 - Normal
              Item Group: Crash
                  Status: In Progress
                 Privacy: Public
             Assigned to: makhlaghi
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 02 Jun 2022 03:17:19 PM BST By: Mohammad Akhlaghi <makhlaghi>
In Gnuastro 0.17, when scientific notation is used on the command-line,
Arithmetic (and similarly, column arithmetic in Table) will crash with the
following error:


$ astarithmetic 1e3 2 +
astarithmetic: gal_type_string_to_number: a bug! Please contact us at
bug-gnuastro@gnu.org to fix this problem. The string '1e3' couldn't be parsed
with 'strtol', but was parsed by 'strtod'


This bug was reported by Elham Saremi.







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62564>

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




reply via email to

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