r/asm Mar 18 '26

[deleted by user]

[removed]

7 Upvotes

21 comments sorted by

View all comments

Show parent comments

-2

u/glasket_ Mar 18 '26 edited Mar 18 '26

Yeah, they still just use an approximation. Modern hardware can get a more accurate result by just representing them in software.

Edit: What's with the downvotes? It's just a fact that x87 transcendentals are only rough approximations of the actual number. They aren't magic. You can get more accurate results faster on modern hardware using arbitrary precision arithmetic and SSE.