[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Negative zeros?
From: |
Vic Norton |
Subject: |
Negative zeros? |
Date: |
Mon, 12 Sep 2005 18:00:56 -0400 |
Look at the following code
octave> CS = [ 0 0 0 ]
CS =
0 0 0
octave> CS *= -1
CS =
-0 -0 -0
I find this a real annoyance. To paraphrase Gertrude Stein:
A zero is a zero is a zero.
Is there some easy way to stop Octave from outputting negative zeros?
Regards,
Vic
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------