Max Trunnikov
Max Trunnikov
@yegor256 has not it been already created after compiling?
@yegor256 yeah, I remember, but it's more complicated) Ok, I try to figure it out, but I think eventually it must be done somehow. `0.0.div 0.0` has not to throw...
@yegor256 I did a little research and here's what I think. Anyway we should move `nan` and `infinities` to `eo-runtime`. I believe it's the place where they belong to. Even...
@yegor256 so the result of `0.0.div 0.0` will be `float` object, but with bytes of `nan`. ``` 0.0.div 0.0 > x # EOfloat QQ.math.nan > n # EOnan ``` Here...
@yegor256 It seems some objects like `float.lt|lte|gte` may not work correctly. Even `float.eq` ``` (0.0.div 0.0).eq nan # it'll be TRUE, but has to be FALSE ```
@Graur 0.0 / 0.0 = nan, 1.0 / 0.0 = +inf, -1.0 / 0.0 = -inf
@yegor256 @Graur WDYT? 1. move `nan` to eo-runtime (or not) 2. make `0.0.div 0.0` return `float` but with `nan` bytes (Double.NaN) 3. make `nan` decorated `0.0.div 0.0` ``` [] >...
@jgreffe Hey! Did you find the solution? I got the same issue (obviously)
There is no perfect way to do it, but I use this one. 1. If you don't want to change your locales. (ex. from 'en' to 'eng', from 'fr' to...
@yegor256 what about infinities then? They require some extra logic too, like `nan` (see [here](https://github.com/objectionary/eo-math/issues/3#issuecomment-1154106862))