2025/03/26

2025-03-26 00:03:22 +0100 <geekosaur> keep it but require `import IEEE754Insanity`
2025-03-26 00:05:23 +0100poscat(~poscat@user/poscat) (Ping timeout: 245 seconds)
2025-03-26 00:05:44 +0100poscat(~poscat@user/poscat) poscat
2025-03-26 00:05:56 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-26 00:06:04 +0100weary-traveler(~user@user/user363627) user363627
2025-03-26 00:06:16 +0100 <otto_s> Is there a reason, why the imaginary party of -1 :: Complex Double *should* be -0 ?
2025-03-26 00:08:54 +0100 <otto_s> Oh, I see, mauke answered that already.
2025-03-26 00:10:41 +0100 <otto_s> Floats are evil. *g*
2025-03-26 00:10:43 +0100 <geekosaur> I think the full answer involves complex numbers as being on a plane, and having trig on them produce results in the correct quadrant?
2025-03-26 00:11:26 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 268 seconds)
2025-03-26 00:12:26 +0100 <otto_s> No, I think the culprit is just:
2025-03-26 00:12:29 +0100 <otto_s> > isNegativeZero $ negate 0
2025-03-26 00:12:31 +0100 <lambdabot> True
2025-03-26 00:13:12 +0100 <geekosaur> right, but what I said is why the whole "negative zero" thing exists in the first place. see also atan2
2025-03-26 00:13:17 +0100 <otto_s> (and then late, of course, how log decides where to go)
2025-03-26 00:14:11 +0100 <otto_s> Yes.
2025-03-26 00:15:39 +0100 <geekosaur> sadly it's been a looong time since I last did this stuff so it's all become kinda fuzzy ("use it or lose it")
2025-03-26 00:16:25 +0100 <geekosaur> last time I touched it was 1985
2025-03-26 00:21:43 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-26 00:23:08 +0100__monty__(~toonn@user/toonn) (Quit: leaving)
2025-03-26 00:25:18 +0100byte(~mu@user/byte) (Quit: Leaving)
2025-03-26 00:25:48 +0100sarna(~sarna@d192-22.icpnet.pl) (Ping timeout: 245 seconds)
2025-03-26 00:26:38 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 245 seconds)
2025-03-26 00:27:21 +0100aetepe(~aetepe@188.119.22.83) aetepe
2025-03-26 00:30:26 +0100weary-traveler(~user@user/user363627) (Remote host closed the connection)
2025-03-26 00:33:37 +0100byte(~mu@user/byte) byte
2025-03-26 00:35:20 +0100simplystuart(~simplystu@c-75-75-152-164.hsd1.pa.comcast.net) (Ping timeout: 252 seconds)
2025-03-26 00:35:45 +0100simplystuart(~simplystu@c-75-75-152-164.hsd1.pa.comcast.net)
2025-03-26 00:37:31 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-26 00:40:56 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-03-26 00:42:05 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
2025-03-26 00:45:17 +0100sarna(~sarna@d192-22.icpnet.pl) sarna
2025-03-26 00:45:45 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 265 seconds)
2025-03-26 00:45:46 +0100sprotte24(~sprotte24@p5dd5d056.dip0.t-ipconnect.de) (Quit: Leaving)
2025-03-26 00:51:04 +0100Tuplanolla(~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) Tuplanolla
2025-03-26 00:53:18 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-26 00:57:53 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 244 seconds)
2025-03-26 01:04:38 +0100robobub(uid248673@id-248673.uxbridge.irccloud.com) robobub
2025-03-26 01:07:01 +0100sarna(~sarna@d192-22.icpnet.pl) (Ping timeout: 265 seconds)
2025-03-26 01:09:05 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-26 01:11:27 +0100weary-traveler(~user@user/user363627) user363627
2025-03-26 01:12:06 +0100 <EvanR> > atan (recip 0)
2025-03-26 01:12:07 +0100 <lambdabot> 1.5707963267948966
2025-03-26 01:12:12 +0100 <EvanR> > atan (recip (-0))
2025-03-26 01:12:14 +0100 <lambdabot> -1.5707963267948966
2025-03-26 01:13:21 +0100 <EvanR> also the way I do decode float in another universe is return (sign, mantissa, exponent)
2025-03-26 01:14:45 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) (Ping timeout: 276 seconds)
2025-03-26 01:16:00 +0100 <Leary> otto_s: May I introduce you to your lord and saviour `LexicalNegation`? It will ensure that `-1` means `fromInteger -1`, not `negate (fromInteger 1)`, hence `-1 = -1 :+ 0`.
2025-03-26 01:16:29 +0100tomboy64(~tomboy64@user/tomboy64) (Ping timeout: 244 seconds)
2025-03-26 01:16:50 +0100 <Leary> I would like to demonstrate with yahb2, but it's being weird:
2025-03-26 01:16:57 +0100 <Leary> % import Data.Complex
2025-03-26 01:16:57 +0100 <yahb2> <no location info>: error: [GHC-88719] ; Could not load module ‘Data.Complex’. ; Perhaps you haven't installed the "dyn" libraries for package ‘base-4.21.0.0’? ; Use :set -v to see a li...
2025-03-26 01:17:02 +0100 <Leary> tomsmeding: ^ halp