757
Stop using floats (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] Chadus_Maximus@lemm.ee 4 points 10 months ago* (last edited 10 months ago)

May I propose a dedicated circuit (analog because you can only ever approximate their value) that stores and returns transcendental/irrational numbers exclusively? We can just assume they're going to be whatever value we need whenever we need them.

[-] frezik@midwest.social 2 points 10 months ago

Wouldn't noise in the circuit mean it'd only be reliable to certain level of precision, anyway?

[-] Chadus_Maximus@lemm.ee 1 points 10 months ago* (last edited 10 months ago)

I mean, every irrational number used in computation is reliable to a certain level of precision. Just because the current (heh) methods aren't precise enough doesn't mean they'll never be.

[-] anton@lemmy.blahaj.zone 1 points 9 months ago

You can always increase the precision of a computation, analog signals are limited by quantum physics.

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

Programmer Humor

19821 readers
264 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