Python · Math, random & Decimal
A Decimal can hold NaN and sNaN. What's the difference when you compute with them? from decimal import Decimal Decimal("NaN") + Decimal("42.42") Decimal("sNaN") + Decimal("42.42")
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
