Re: Mathematics in Python are not correct

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Christian Heimes

    Re: Mathematics in Python are not correct

    Luis Zarrabeitia schrieb:
    >>>0**0
    1
    >
    That 0^0 should be a nan or exception, I guess, but not 1.
    No, that's correct for floats. Read the wikipedia article or the C99
    standard for more information.

    Christian

Working...