|
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: <http://savannah.gnu.org/bugs/?51515> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |