timotimo i'll try sleep again, maybe with more success than yesterday 00:05
jnthn Rest well :) 00:08
06:30 xtt joined 06:35 domidumont joined 06:37 xtt2 joined 07:53 Ven joined 07:55 Ven joined 07:59 xtt joined 08:10 geekosaur joined
timotimo well, i'm up 08:11
nine But did you find some sleep? 08:15
timotimo yeah, there was some 08:18
08:21 xtt2 joined 08:25 zakharyas joined 08:32 Ven joined 08:33 domidumont joined 08:39 domidumont joined 09:53 zakharyas1 joined 09:56 Ven joined
viki clears throat 11:03
github.com/MoarVM/MoarVM/pull/442
brrt checks out 11:13
i have no idea why that should do what you mean :-) 11:14
viki You mean why 1 / 2**1020 should be a proper number and not 0? 11:16
r: use nqp; nqp::div_In(1, 2**1020)
camelia ( no output )
viki r: use nqp; say nqp::div_In(1, 2**1020)
camelia rakudo-jvm 76b061: OUTPUT«8.9E-308␤»
..rakudo-moar 64343d: OUTPUT«0␤»
viki r: use nqp; say nqp::div_In(2**1020, 1)
camelia rakudo-moar 64343d: OUTPUT«Inf␤»
..rakudo-jvm 76b061: OUTPUT«1.1235582092889474E307␤»
viki And since that stuff is used by Perl 6's Rats, we get: 11:17
r: say 1/2**1020
camelia rakudo-moar 64343d: OUTPUT«0␤»
..rakudo-jvm 76b061: OUTPUT«8.9E-308␤»
viki r: say 1e0/2e0**1020
camelia rakudo-moar 64343d: OUTPUT«8.90029543402881e-308␤»
..rakudo-jvm 76b061: OUTPUT«8.900295434028806E-308␤»
viki etc
11:46 Ven joined
viki .ask MasterDuke can you look at this ticket? IIRC we decided this was a DITHWIDT and wasn't worth a fix, right? rt.perl.org/Ticket/Display.html?id=128551 11:52
yoleaux2 viki: I'll pass your message to MasterDuke.
viki oh whoops, wc 11:53
12:08 Ven joined 12:12 Ven joined 12:21 Ven joined 13:44 Ven joined 14:02 Ven joined, domidumont joined
brrt viki: I mean, I have no idea why that patch works 15:01
although I believe that it works
viki brrt: it works because when we do MAX, in the case of 1/2**1020 you end up with 1 / 2 ** 57, which is less than zero and so the numerator ends up being zero. 15:02
15:05 domidumont joined
viki brrt: and the fix avoids that case, but I'm not 100% sure it's a good fix 15:06
15:15 Ven joined 15:17 Ven_ joined
brrt hmmm 15:33
honestly, I have no idea how IEEE floating point works at all 15:34
15:47 Ven joined 17:51 zakharyas joined 19:35 domidumont joined
timotimo i don't have an idea why IEEE floating points works at all ;) 19:49
moritz I don't hae any idea if IEEE floating points work at all ;) 19:50
21:27 zakharyas joined 22:39 TimToady joined