[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61976] Table arithmetic date-to-sec produces inaccurate result
From: |
Mohammad Akhlaghi |
Subject: |
[bug #61976] Table arithmetic date-to-sec produces inaccurate result |
Date: |
Fri, 11 Feb 2022 09:36:39 -0500 (EST) |
Update of bug #61976 (project gnuastro):
Status: None => Fixed
Assigned to: None => makhlaghi
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #1:
Thanks for the great bug report Pedram! It has been fixed in Commit 8837a5a8a
<https://git.savannah.gnu.org/cgit/gnuastro.git/commit/?id=8837a5a8a>.
This was an important bug and it was always haunting me from the day I first
implemented 'date-to-sec'! I knew that storing a many-significant-digit
integer number (like number of seconds from 1970-01-01) into a 64-bit floating
point type will be problematic, but I failed to act upon it then!
Hopefully the commit message has clarified the solution, so I won't repeat it
anymore here ;-).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61976>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/