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

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

[Octave-bug-tracker] [bug #65291] [octave forge] (mapping) degrees2dms p


From: anonymous
Subject: [Octave-bug-tracker] [bug #65291] [octave forge] (mapping) degrees2dms produces incorrect results
Date: Mon, 12 Feb 2024 17:53:20 -0500 (EST)

Follow-up Comment #3, bug#65291 (group octave):

In Octave, 1.2 means the nearest double which is actually
1.1999999999999999555910790149937383830547332763671875.  The exact result for
this input would be [1, 11,
59.999999999999840127884453977458178997039794921875] which when rounded to
nearest double is [1, 11, 59.9999999999998436805981327779591083526611328125].



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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