Python Forum
unexpected decimal.InvalidOperation
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unexpected decimal.InvalidOperation
#2
The behavior you are seeing is part of IEEE-754 standard. The easiest chart I found is in the "Special Operations" section of https://steve.hollasch.net/cgindex/codin...float.html.

The specification that defines the decimal library is available at:

http://speleotrove.com/decimal/decarith.html

The behavior is documented in section 7 Exceptional Conditions.
Reply


Messages In This Thread
unexpected decimal.InvalidOperation - by Skaperen - Dec-25-2021, 02:35 AM
RE: unexpected decimal.InvalidOperation - by casevh - Dec-25-2021, 07:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  number of digits in a decimal.Decimal number object Skaperen 0 836 Aug-26-2023, 07:38 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020