[Top][All Lists]

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

[Octave-bug-tracker] [bug #51515] sprintf not rounding as Matlab does

From: Rik
Subject: [Octave-bug-tracker] [bug #51515] sprintf not rounding as Matlab does
Date: Fri, 21 Jul 2017 11:26:04 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0

Update of bug #51515 (project octave):

              Item Group:    Matlab Compatibility => Other                  
                  Status:                    None => Wont Fix               
             Open/Closed:                    Open => Closed                 


Follow-up Comment #7:

@Pantxo: Thanks for the test on Linux.  Clearly this is a platform-dependent
issue.  The only way to guarantee uniform results is to code defensively and
round in the particular manner the programmer desires before calling sprintf. 
This defensiveness avoids relying on the particular rounding mode chosen by
the C library available.


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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