Mercurial > hg > octave-lyh
view .hgsubstate @ 17301:e351b499311e
Handle '+' format modifier in sprintf (bug #39773)
* libinterp/corefcn/oct-stream.cc: Print '+' character even for
Inf and NaN when '+' format specified.
* scripts/general/num2str.m: Handle Inf values correctly when
generating format for sprintf. Add new %!tests.
* test/io.tst: Add %! tests for sprintf behavior. Use Octave coding
conventions on rest of file.
author | Rik <rik@octave.org> |
---|---|
date | Tue, 20 Aug 2013 11:07:53 -0700 |
parents | eb8bf49780fb |
children |