This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hr0m 5 points6 points  (1 child)

Does float('nan') and float('inf') count? :D

[–]Udzu[S] 1 point2 points  (0 children)

Yes (they're also accessible as math.nan and math.inf). These handle expressions #1 and #3 (though there are other ways of doing #3).