[New-bugs-announce] [issue2900] math.copysign(1, float('nan'))

Christian Heimes report at bugs.python.org
Sat May 17 16:39:16 CEST 2008


New submission from Christian Heimes <lists at cheimes.de>:

What's your opinion on the edge case

>>> math.copysign(1, float('nan'))
1.0

Is 1.0 the correct answer? IMHO Nan would be better ...

----------
assignee: marketdickinson
components: Extension Modules
messages: 66997
nosy: christian.heimes, marketdickinson
priority: normal
severity: normal
status: open
title: math.copysign(1, float('nan'))
type: behavior
versions: Python 2.6, Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2900>
__________________________________


More information about the New-bugs-announce mailing list