[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test sign of signed zero?
From: |
Eric Chassande-Mottin |
Subject: |
test sign of signed zero? |
Date: |
Sun, 19 Dec 2010 05:49:10 -0800 (PST) |
hi,
I'd like to test the sign of a variable that can be a signed zero.
octave:1> a=-0
a = -0
octave:2> sign(a)
ans = 0
sign() does not work. any suggestions ?
thanks,
e
--
View this message in context:
http://octave.1599824.n4.nabble.com/test-sign-of-signed-zero-tp3094440p3094440.html
Sent from the Octave - General mailing list archive at Nabble.com.
- test sign of signed zero?,
Eric Chassande-Mottin <=