2024/10/03

Newest at the top

2024-10-03 17:32:46 +0200paddymahoney(~paddymaho@pool-99-250-10-137.cpe.net.cable.rogers.com)
2024-10-03 17:28:36 +0200paddymahoney(~paddymaho@pool-99-250-10-137.cpe.net.cable.rogers.com) (Ping timeout: 276 seconds)
2024-10-03 17:28:13 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 265 seconds)
2024-10-03 17:19:11 +0200marinelli(~weechat@gateway/tor-sasl/marinelli) marinelli
2024-10-03 17:19:05 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) merijn
2024-10-03 17:15:04 +0200Leonard26(~Leonard26@49.236.57.54) (Quit: Client closed)
2024-10-03 17:14:54 +0200 <int-e> (read the documentation too)
2024-10-03 17:14:33 +0200 <lambdabot> "0.05"
2024-10-03 17:14:31 +0200 <int-e> > Numeric.showFFloat Nothing 0.05 ""
2024-10-03 17:14:26 +0200 <geekosaur> use a number formatter
2024-10-03 17:13:56 +0200KicksonButt(~quassel@2804:14d:7e52:809e:22e6:a05b:6e89:899e) (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
2024-10-03 17:12:19 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
2024-10-03 17:10:46 +0200 <Leonard26> [0.0,0.05..1.0] this seems to work well, but is there any way to turn that 5.0e-2 into 0.05?
2024-10-03 17:09:46 +0200Leonard26(~Leonard26@49.236.57.54)
2024-10-03 17:07:29 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) merijn
2024-10-03 17:01:57 +0200fireking04(~user@36-227-74-59.dynamic-ip.hinet.net)
2024-10-03 17:00:58 +0200ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 252 seconds)
2024-10-03 17:00:13 +0200rosco(~rosco@183.171.106.209) rosco
2024-10-03 16:56:54 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 272 seconds)
2024-10-03 16:53:42 +0200 <geekosaur> (combined with the fact that the general behavior for "ticking" a floating point number doesn't do anything at all intuitive)
2024-10-03 16:53:08 +0200 <geekosaur> __monty__, no, it's not defaulting, it's the (considered by many to be broken) Enum instance for Double/Float
2024-10-03 16:51:52 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) merijn
2024-10-03 16:51:25 +0200athan(~athan@syn-098-153-145-140.biz.spectrum.com) (Ping timeout: 252 seconds)
2024-10-03 16:51:15 +0200Leonard26(~Leonard26@49.236.57.54) (Quit: Client closed)
2024-10-03 16:45:02 +0200crazazy(~crazazy@tilde.town) crazazy
2024-10-03 16:44:01 +0200manwithluck(manwithluc@gateway/vpn/protonvpn/manwithluck) manwithluck
2024-10-03 16:43:35 +0200manwithluck(manwithluc@gateway/vpn/protonvpn/manwithluck) (Remote host closed the connection)
2024-10-03 16:42:43 +0200 <__monty__> int-e: Ah, of course. >.<
2024-10-03 16:41:24 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds)
2024-10-03 16:40:29 +0200 <lambdabot> 1.5
2024-10-03 16:40:27 +0200 <int-e> > succ 0.5
2024-10-03 16:40:15 +0200 <int-e> __monty__: no, it defaults to 1 as the difference between elements
2024-10-03 16:40:01 +0200 <lambdabot> [0.5,1.5,2.5,3.5,4.5,5.5,6.5,7.5,8.5,9.5,10.5]
2024-10-03 16:39:59 +0200 <int-e> > [0.5..10]
2024-10-03 16:38:44 +0200 <Leonard26> Thank you :]
2024-10-03 16:36:27 +0200merijn(~merijn@204-220-045-062.dynamic.caiway.nl) merijn
2024-10-03 16:36:00 +0200crazazy(~user@mail.wibeco.nl) (ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4))
2024-10-03 16:35:46 +0200 <__monty__> Why does [0.0..1.0] only enum integer(?) values though? Is it defaulted to [Integer]?
2024-10-03 16:34:59 +0200 <crazazy> :)
2024-10-03 16:34:50 +0200 <__monty__> Thought it'd be excluded but I suppose that makes sense.
2024-10-03 16:34:31 +0200 <lambdabot> 1.0
2024-10-03 16:34:30 +0200 <__monty__> > last [0.0,0.05..1.0]
2024-10-03 16:34:01 +0200 <lambdabot> [0.0,5.0e-2,0.1,0.15000000000000002,0.2,0.25,0.30000000000000004,0.350000000...
2024-10-03 16:33:59 +0200 <crazazy> > [0.0,0.05..1.0]
2024-10-03 16:33:15 +0200 <lambdabot> [0.0,5.0e-2,0.1,0.15000000000000002,0.2,0.25,0.3,0.35,0.39999999999999997,0....
2024-10-03 16:33:12 +0200 <__monty__> > take 21 $ iterate (+ 0.05) 0 -- If you must have Doubles/Floats
2024-10-03 16:32:14 +0200KicksonButt(~quassel@2804:14d:7e52:809e:22e6:a05b:6e89:899e)
2024-10-03 16:32:09 +0200paddymahoney(~paddymaho@pool-99-250-10-137.cpe.net.cable.rogers.com)
2024-10-03 16:28:12 +0200 <geekosaur> welcome to IEEE floating point. use Data.Scientific (Scientific), Data.CReal (numbers), or some other exact-representation package. Or use Rational instead of Float/Double
2024-10-03 16:28:01 +0200paddymahoney(~paddymaho@pool-99-250-10-137.cpe.net.cable.rogers.com) (Ping timeout: 248 seconds)