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

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

[-] Magnetar@feddit.de 1 points 1 year 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
774 points (100.0% liked)

Programmer Humor

25518 readers
1422 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 2 years ago
MODERATORS