←back to thread

389 points kurinikku | 1 comments | | HN request time: 0.21s | source
Show context
fifilura ◴[] No.42165757[source]
So an integer is represented by how deep in the stack you are?

How do you represent an irregular float?

replies(1): >>42165818 #
marcosdumay ◴[] No.42165818[source]
Probably by using IEEE 754.

What will make any function that uses floating point numbers mindblowing complex. But there's probably an easier way by creating some transformation from (Integer -> a) to (F64 -> a) so that only the transformation gets complex.

Anyway, there are many reasons people don't write actual programs this way.

replies(1): >>42169041 #
1. ◴[] No.42169041[source]