757
Stop using floats (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] ytg@feddit.ch 9 points 8 months ago* (last edited 8 months ago)

Perhaps you can encode them as computation (i.e. a function of arbitrary precision)

[-] Magnetar@feddit.de 1 points 8 months ago

Hard to do as those functions are often limits and need infinite function applications. I'm telling you, math.PI is a finite lie!

this post was submitted on 26 Feb 2024
757 points (95.8% liked)

Programmer Humor

19606 readers
270 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS