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

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

[-] Magnetar@feddit.de 1 points 6 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
756 points (95.8% liked)

Programmer Humor

19208 readers
1330 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