« first day (640 days earlier)      last day (6 days later) » 

06:19
@KyoheiKaneko The only way would be to store the true type at some point, either inside the object or at compile time.
 
9 hours later…
15:32
0
Q: Decimal point as a binary operation

Марат РамазановI wonder if anyone has tried implementing the decimal point as a binary operation a.b = $f(a, b) = a+b/10^{1+floor(log_{10} b)}$ That would simplify the PL design, and add new possibilities. For example, (-2).34 is equal to -1.66, 3.(1+6*5) is 3.31


« first day (640 days earlier)      last day (6 days later) »