
Hi all, After fitting a curve, the output returns the initial value as *-0.0*. Why not a simple 0.0? What is this difference? Sorry for the stupid question, but why exist a negative zero? Cheers, Arnaldo. --- Arnaldo D'Amaral Pereira Granja Russo Instituto Ambiental Boto Flipper institutobotoflipper .org

Hi Arnaldo, On 20 Jan 2016 21:56, "Arnaldo Russo" <arnaldorusso@gmail.com> wrote:
Hi all,
After fitting a curve, the output returns the initial value as -0.0. Why
not a simple 0.0?
What is this difference? Sorry for the stupid question, but why exist a negative zero?
Haha, that used to stump me too, before I found out that there's such a thing as a signed zero. The IEEE 754 standard accommodates it. You can read more at https://en.m.wikipedia.org/wiki/Signed_zero
Cheers, Arnaldo. --- Arnaldo D'Amaral Pereira Granja Russo Instituto Ambiental Boto Flipper institutobotoflipper .org
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion

hahaha! Thanks --- Arnaldo D'Amaral Pereira Granja Russo Instituto Ambiental Boto Flipper institutobotoflipper .org 2016-01-20 14:45 GMT-02:00 Jaidev Deshpande <deshpande.jaidev@gmail.com>:
Hi Arnaldo, On 20 Jan 2016 21:56, "Arnaldo Russo" <arnaldorusso@gmail.com> wrote:
Hi all,
After fitting a curve, the output returns the initial value as -0.0. Why
not a simple 0.0?
What is this difference? Sorry for the stupid question, but why exist a negative zero?
Haha, that used to stump me too, before I found out that there's such a thing as a signed zero. The IEEE 754 standard accommodates it.
You can read more at https://en.m.wikipedia.org/wiki/Signed_zero
Cheers, Arnaldo. --- Arnaldo D'Amaral Pereira Granja Russo Instituto Ambiental Boto Flipper institutobotoflipper .org
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org https://mail.scipy.org/mailman/listinfo/numpy-discussion
participants (2)
-
Arnaldo Russo
-
Jaidev Deshpande