Inaccurate definition for Right Division Operator? #57812
goualard-f
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The documentation defines the Right Division Operator
/(x,y)
as the multiplication ofx
by the inverse ofy
on the right. Besides being strangely convoluted, I believe such a definition is also misleading. For floating-point values, the RightDivision Operator performs at most one rounding only, while the multiplication by the inverse might incur two roundings, leading to different results. Consider:Am I missing something here? What are the considerations that led to such a definition in the first place?
Beta Was this translation helpful? Give feedback.
All reactions