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

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

[Octave-bug-tracker] [bug #63940] `format native-bit` gives wrong result


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #63940] `format native-bit` gives wrong results
Date: Sat, 18 Mar 2023 12:34:10 -0400 (EDT)

Follow-up Comment #2, bug #63940 (project octave):

easy check here.  matlab 2022b:


>> pi

ans =

    3.1416

>> format bit
Error using format
Invalid format option bit.
 
>> format native-bit
Error using format
Invalid format option native-bit.


the only non-decimal format matlab has is hex.  


>> format hex
>> pi

ans =

   400921fb54442d18


based on their description for FORMAT HEX: 
"The HEX display corresponds to the internal representation of the value and
is not the same as the hexadecimal notation in the C programming language."

I'm sure sometime they'll implement a binary format and it'll conflict with
ours :)


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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