Does float16 Round After Each Operation or Only at the End? A Code Investigation
I have this question that I want to test in code: if we have x1, x2, x3, x4 (all float16) and f() = (x1 + x2) * x3 - x4, I want to know whether the machine rounds after each operation or calculates the full expression first and rounds only at the end, and how to demonstrate this in a code?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.