2016-02-21T00:40:41Z ccl-logbot joined #scheme 2016-02-21T00:40:42Z 2016-02-21T00:40:42Z names: ccl-logbot magine-pc grettke mastokley githogori mejja lambda-11235 Menche karswell chishiki oleo_ leppie amgarchIn9 Khisanth rx80 daviid amz31 askatasuna rsully sz0 Riastradh cdidd kuribas pierpa badkins taylan davexunit Opodeldoc pjbh stepnem carc akkad davidh cross foof NaNDude lucasem ArneBab_ aap _sjs grublet niklasl m0li nowhere_man_ JungleCoder jyc sethalves m1dnight_ ics chu antoszka ec\ hive-mind moredhel ft evhan em cjh` amoe dsp- eagleflo_ 2016-02-21T00:40:42Z names: mj12` benaiah ohama autogen mach snits ozzloy micro` clog mikeyhc dsp jkraemer lloda mmc sondr3 X-Scale Tenhi_ na_th_an joast nitrix octo_ zbigniew cojy z0d finnrobi_ petercommand samth acarrico dxtr leo_song averell eli SHODAN drdo GGMethos vifino juanfra jeaye tristero zacts metaf5 _0x5eb_ nckx|offline oskarth kwmiebach taij33n cky stasku__ abbe Neet Riviera snow_bckspc magically stephe MorTal1ty emmanueloga Kruppe- fizzie ELLIOTTCABLE ggherdov wingo 2016-02-21T00:40:42Z names: XTL yosafbridge Tenhi gabot dpk Saeren tessier wasamasa nmeum fgudin beagles Kryo zwdr_ nisstyre defanor r0kc4t LeoNerd cmatei DerGuteMoritz shardz haasn seg SirDayBat Blkt ecraven cartwright sytse harmchop haroldwu chazu dmiles_afk stux|work low-profile stamourv klutometis ski ineiros tm512 narendraj9 neuri8 mrowe jrdnull kephra dualbus samw3 dTal jackdaniel CustosL1men profan dan64 cibs renopt copec gnomon eMBee greghendershott mlaine drforr1 jrslepak 2016-02-21T00:40:42Z names: wattenbarger2 asumu vikraman C-Keen gf3 mario-goulart keemyb balkamos rudybot dbohdan choas pchrist_ DGASAU arbscht 2016-02-21T00:43:29Z m1dnight_ quit (Ping timeout: 240 seconds) 2016-02-21T00:47:15Z skelternet joined #scheme 2016-02-21T00:47:19Z mokuso joined #scheme 2016-02-21T00:47:20Z mokuso quit (Changing host) 2016-02-21T00:47:20Z mokuso joined #scheme 2016-02-21T00:48:02Z skelternet quit (Client Quit) 2016-02-21T00:51:45Z Menche: (- 5 4.7) → 0.2999999999999998 2016-02-21T00:51:46Z Menche: rounding fail 2016-02-21T00:53:30Z Riastradh: You can't do much better than that if you have 53 bits of precision in binary floating-point. 2016-02-21T00:54:23Z Riastradh: But the answer you get, of course, is very close. Its relative error is less than 10^-15. 2016-02-21T00:57:07Z m1dnight_ joined #scheme 2016-02-21T00:57:22Z Menche: and (- 5 (exact 4.7)) → 1 2016-02-21T00:57:42Z Menche: or 3/10, depending on implementation O_o 2016-02-21T00:57:49Z Riastradh: No idea what `exact' is supposed to be. 2016-02-21T00:57:59Z Riastradh: If you write #e4.7 then you'll get 3/10. 2016-02-21T00:59:21Z Menche: there a way to get it to output 0.3? 2016-02-21T01:01:51Z magine-pc quit (Remote host closed the connection) 2016-02-21T01:02:35Z magine-pc joined #scheme 2016-02-21T01:02:48Z Riastradh: Well, what should it do for 1/3? 2016-02-21T01:02:57Z Menche: 0.3? 2016-02-21T01:03:33Z Riastradh: (string-append "0." (round (* x 10))) will do what you want for those two inputs, then... 2016-02-21T01:03:37Z Menche: well 2016-02-21T01:03:38Z Menche: err 2016-02-21T01:03:43Z Riastradh: rudybot: eval (string-append "0." (round (* 1/3 10))) 2016-02-21T01:03:43Z rudybot: Riastradh: your sandbox is ready 2016-02-21T01:03:43Z rudybot: Riastradh: error: string-append: contract violation expected: string? given: 3 argument position: 2nd other arguments...: "0." 2016-02-21T01:03:49Z Riastradh: er 2016-02-21T01:03:53Z Riastradh: rudybot: eval (string-append "0." (number->string (round (* 1/3 10)))) 2016-02-21T01:03:53Z rudybot: Riastradh: ; Value: "0.3" 2016-02-21T01:03:58Z Riastradh: rudybot: eval (string-append "0." (number->string (round (* (- 5 #e4.7) 10)))) 2016-02-21T01:03:59Z rudybot: Riastradh: ; Value: "0.3" 2016-02-21T01:04:15Z Menche: why isn't (- 5 4.7) 0.3 2016-02-21T01:04:52Z Menche: that only has one decimal place to be exact 2016-02-21T01:07:20Z Riastradh: Menche: The decimal notation means inexact, which is usually binary floating-point representation, for numbers. There is no binary floating-point representation for 4.7 or 1/3 or 0.3 -- the nearest floating-point numbers are off by a little bit, though less than x*10^-16 for each such x. 2016-02-21T01:07:46Z Riastradh: If you want exact representations, you can use ratio notation or the `#e' prefix. 2016-02-21T01:08:04Z Menche: that outputs a fraction 2016-02-21T01:08:55Z Riastradh: Right. Scheme uses ratio notation to mean exact representation of non-integer rational numbers. 2016-02-21T01:09:25Z Menche: why does it have that rounding error with only one place? 2016-02-21T01:09:38Z Menche: with inexact 2016-02-21T01:09:48Z Riastradh: What do you mean `only one place'? 2016-02-21T01:09:55Z Menche: 0.3 2016-02-21T01:10:33Z Menche: I'd expect an approximation like that for an irrational number 2016-02-21T01:10:45Z Menche: or something with many more places 2016-02-21T01:10:57Z Riastradh: Do you know how floating-point numbers work? 2016-02-21T01:11:08Z Menche: not really 2016-02-21T01:12:27Z Menche: does C have some abstraction that scheme doesn't? 2016-02-21T01:12:42Z Menche: printf("%f\n", (5 - 3.7)); → 1.300000 2016-02-21T01:13:05Z Menche: wondering what it's doing behind the scenes 2016-02-21T01:13:23Z Riastradh: When you use %f, printf rounds the result to a smaller number of digits. 2016-02-21T01:13:33Z Riastradh: Try using %.17e instead of %f. 2016-02-21T01:14:30Z Riastradh: Or, if you want to to avoid all rounding altogether, use %a -- but the result will be in hexadecimal, not decimal. 2016-02-21T01:14:47Z Riastradh: I suggest you read the article `What Every Computer Scientist Should Know about Floating-Point Arithmetic'. 2016-02-21T01:15:32Z Menche: hmm, ok 2016-02-21T01:15:55Z Menche: so scheme just outputs it with significantly more places than printf 2016-02-21T01:16:34Z Riastradh: The quick summary is that every floating-point number is of the form 2^e * 1.101010100010100000001010101000..., in binary notation, where e is an integer exponent and there are 52 bits after the `binary' point. 2016-02-21T01:16:48Z Riastradh: This representation is compact: it fits in 64 bits. 2016-02-21T01:16:59Z Riastradh: (There are other forms -- I'm describing the most common one, IEEE 754 double-precision binary floating-point.) 2016-02-21T01:18:27Z Riastradh: There is no way to write down exactly 0.3 this way. But you can get very close to it -- different by less than 0.3 * 10^-15. 2016-02-21T01:18:43Z Riastradh: Similarly, there is no way to write down exactly 4.7 this way. 2016-02-21T01:19:14Z Menche: hmm ok 2016-02-21T01:19:53Z Riastradh: But if you take the nearest floating-point number to it, say q, and compute 5 - q, and then take the nearest floating-point number to 5 - q, what you get is not exactly the nearest floating-point number to 0.3 either -- but it is only very slightly different from that. 2016-02-21T01:21:50Z Riastradh: Now, you can use a different representation -- e.g., arbitrary-precision integers, and ratios of arbitrary-precision integers. 2016-02-21T01:22:06Z Riastradh: But those aren't guaranteed to fit in 64 bits. 2016-02-21T01:22:28Z Riastradh: In fact, there's no bound that they're generally guaranteed to fit in -- hence the `arbitrary precision' part. 2016-02-21T01:23:47Z Riastradh: And they don't help you to represent any irrational numbers much better than floating-point numbers. And arithmetic with them is slower. And in practical terms, you practically never need such precision unless you're probably doing something wrong anyway. 2016-02-21T01:23:59Z Menche: ah 2016-02-21T01:24:13Z Riastradh: Scheme provides them anyway -- that's what you get if you write 3/10 instead of 0.3. 2016-02-21T01:26:07Z Menche: k 2016-02-21T01:29:18Z Menche: hmm, picrin scheme doesn't recognize #e 2016-02-21T01:29:24Z Menche: problem with the implementation? 2016-02-21T01:29:42Z Menche: claims to implement r7rs 2016-02-21T01:30:04Z Riastradh: Never heard of picrin, I dunno. 2016-02-21T01:30:27Z Menche: usually use gauche 2016-02-21T01:31:21Z Menche: in chicken, 0.3 → 0.3 2016-02-21T01:31:37Z Menche: rounds more I guess? 2016-02-21T01:32:27Z magine-pc quit (Ping timeout: 244 seconds) 2016-02-21T01:32:47Z Menche: chicken doesn't let you do #e0.3, Error: (inexact->exact) inexact number cannot be represented as an exact number: 0.3 2016-02-21T01:34:08Z Riastradh: 0.3 isn't representable exactly in floating-point -- but if you take the nearest floating-point number to that, say q, and consider the interval of *all* real numbers whose nearest floating-point number is q, then among those real numbers, the one with the shortest decimal expansion is 0.3. 2016-02-21T01:34:26Z magine-pc joined #scheme 2016-02-21T01:34:38Z Riastradh: So 0.3 is a reasonable way to express the floating-point number closest to fpround(0.3), where fpround is a function that sends each real number to the nearest floating-point number. 2016-02-21T01:34:42Z Menche: yeah, I got that 2016-02-21T01:34:58Z Riastradh: Chicken's parser is probably just broken. 2016-02-21T01:35:04Z Riastradh: In, e.g., MIT Scheme, #e0.3 gives 3/10 as it should. 2016-02-21T01:35:05Z Menche: oh 2016-02-21T01:35:18Z Riastradh: (Historically Chicken has had pretty limited support for exact arithmetic.) 2016-02-21T01:35:19Z Menche: when you load the r7rs egg it accepts #e0.3 and outputs 3/10 2016-02-21T01:35:46Z Riastradh: OK. 2016-02-21T01:35:57Z Menche: is r5rs different there, or is that just chicken's flavor of r5rs? 2016-02-21T01:36:14Z Riastradh: Not really different. 2016-02-21T01:36:24Z magine-pc quit (Remote host closed the connection) 2016-02-21T01:36:24Z Riastradh: Well. I don't know -- I haven't looked closely at the R7RS. 2016-02-21T01:36:31Z magine-pc joined #scheme 2016-02-21T01:37:03Z Menche: it still rounds 0.3 2016-02-21T01:42:24Z pjb joined #scheme 2016-02-21T01:48:59Z pjb quit (Ping timeout: 240 seconds) 2016-02-21T02:03:48Z tessier quit (Ping timeout: 248 seconds) 2016-02-21T02:06:32Z daviid` joined #scheme 2016-02-21T02:08:06Z daviid quit (Ping timeout: 250 seconds) 2016-02-21T02:11:37Z aap_ joined #scheme 2016-02-21T02:13:08Z mokuso quit (Quit: leaving) 2016-02-21T02:14:14Z kuribas quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2016-02-21T02:15:01Z aap quit (Ping timeout: 252 seconds) 2016-02-21T02:15:33Z askatasuna quit (Ping timeout: 240 seconds) 2016-02-21T02:19:51Z mejja quit (Quit: ChatZilla 0.9.92 [Firefox 44.0.2/20160210153822]) 2016-02-21T02:28:27Z elflng joined #scheme 2016-02-21T02:46:46Z amgarchIn9 quit (Ping timeout: 255 seconds) 2016-02-21T03:05:15Z davexunit quit (Quit: Later) 2016-02-21T03:10:03Z daviid` quit (Ping timeout: 240 seconds) 2016-02-21T03:12:13Z karswell quit (Read error: Connection reset by peer) 2016-02-21T03:12:28Z karswell joined #scheme 2016-02-21T03:12:46Z magine-pc quit (Remote host closed the connection) 2016-02-21T03:13:47Z magine-pc joined #scheme 2016-02-21T03:16:42Z magine-pc quit (Remote host closed the connection) 2016-02-21T03:17:11Z magine-pc joined #scheme 2016-02-21T03:30:03Z Menche quit (Quit: Leaving) 2016-02-21T03:32:39Z Menche joined #scheme 2016-02-21T03:33:55Z grettke quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-02-21T03:34:02Z ArneBab joined #scheme 2016-02-21T03:38:31Z ArneBab_ quit (Ping timeout: 255 seconds) 2016-02-21T03:56:14Z magine-pc quit (Remote host closed the connection) 2016-02-21T03:56:42Z magine-pc joined #scheme 2016-02-21T04:03:54Z badkins quit (Remote host closed the connection) 2016-02-21T04:08:39Z askatasuna joined #scheme 2016-02-21T04:10:11Z stepnem quit (Ping timeout: 248 seconds) 2016-02-21T04:15:42Z magine-pc quit (Remote host closed the connection) 2016-02-21T04:16:16Z magine-pc joined #scheme 2016-02-21T04:40:11Z magine-pc quit (Remote host closed the connection) 2016-02-21T04:40:45Z magine-pc joined #scheme 2016-02-21T04:50:29Z jyc quit (Ping timeout: 240 seconds) 2016-02-21T04:51:50Z foof` joined #scheme 2016-02-21T04:56:15Z foof quit (Ping timeout: 250 seconds) 2016-02-21T04:56:50Z jyc joined #scheme 2016-02-21T05:01:05Z spew joined #scheme 2016-02-21T05:02:12Z davidh quit (Ping timeout: 276 seconds) 2016-02-21T05:04:22Z davidh joined #scheme 2016-02-21T05:06:40Z magine-pc quit (Remote host closed the connection) 2016-02-21T05:07:18Z magine-pc joined #scheme 2016-02-21T05:09:40Z spew quit (Ping timeout: 250 seconds) 2016-02-21T05:15:45Z Menche quit (Quit: Leaving) 2016-02-21T05:20:07Z mbuf joined #scheme 2016-02-21T05:24:55Z BossKonaSegwaY joined #scheme 2016-02-21T05:25:16Z magine-pc quit (Remote host closed the connection) 2016-02-21T05:26:00Z BossKonaSegwaY left #scheme 2016-02-21T05:26:43Z magine-pc joined #scheme 2016-02-21T05:38:37Z magine-pc quit (Remote host closed the connection) 2016-02-21T05:39:06Z magine-pc joined #scheme 2016-02-21T05:43:01Z tessier joined #scheme 2016-02-21T05:43:01Z tessier quit (Changing host) 2016-02-21T05:43:01Z tessier joined #scheme 2016-02-21T05:48:20Z adu joined #scheme 2016-02-21T05:57:46Z pierpa quit (Ping timeout: 252 seconds) 2016-02-21T06:02:01Z magine-pc quit (Remote host closed the connection) 2016-02-21T06:02:29Z magine-pc joined #scheme 2016-02-21T06:31:33Z Menche joined #scheme 2016-02-21T06:42:18Z AlexDenisov joined #scheme 2016-02-21T06:44:35Z micmus joined #scheme 2016-02-21T06:56:38Z magine-pc quit (Remote host closed the connection) 2016-02-21T06:58:05Z magine-pc joined #scheme 2016-02-21T07:10:21Z Riastradh quit (Ping timeout: 244 seconds) 2016-02-21T07:12:43Z magine-pc quit (Remote host closed the connection) 2016-02-21T07:28:48Z lritter joined #scheme 2016-02-21T07:43:35Z magine-pc joined #scheme 2016-02-21T07:45:39Z mbuf quit (Quit: Ex-Chat) 2016-02-21T07:47:50Z magine-pc quit (Ping timeout: 250 seconds) 2016-02-21T07:49:57Z lambda-11235 quit (Quit: Bye) 2016-02-21T07:52:26Z mmos joined #scheme 2016-02-21T07:57:42Z adu quit (Quit: adu) 2016-02-21T08:15:05Z alezost joined #scheme 2016-02-21T08:17:25Z ggole joined #scheme 2016-02-21T08:20:59Z mmos quit (Ping timeout: 240 seconds) 2016-02-21T08:46:42Z stepnem joined #scheme 2016-02-21T09:00:22Z _sjs quit (Ping timeout: 252 seconds) 2016-02-21T09:29:40Z nisstyre quit (Ping timeout: 248 seconds) 2016-02-21T09:30:39Z mastokley quit (Ping timeout: 276 seconds) 2016-02-21T09:31:34Z petercommand quit (Ping timeout: 240 seconds) 2016-02-21T09:32:47Z petercommand joined #scheme 2016-02-21T09:53:09Z cemerick joined #scheme 2016-02-21T09:56:20Z _sjs joined #scheme 2016-02-21T09:58:52Z nisstyre joined #scheme 2016-02-21T10:01:12Z _sjs quit (Ping timeout: 276 seconds) 2016-02-21T10:09:12Z amgarchIn9 joined #scheme 2016-02-21T10:13:36Z gravicappa joined #scheme 2016-02-21T10:16:06Z pjb joined #scheme 2016-02-21T10:50:04Z arbscht quit (Ping timeout: 240 seconds) 2016-02-21T11:01:39Z mj12` quit (Ping timeout: 276 seconds) 2016-02-21T11:02:13Z mj12` joined #scheme 2016-02-21T11:02:18Z grublet quit (Ping timeout: 276 seconds) 2016-02-21T11:03:01Z grublet joined #scheme 2016-02-21T11:04:15Z AlexDenisov quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-02-21T11:06:49Z alezost quit (Quit: I live in GuixSD and Emacs ) 2016-02-21T11:08:03Z arbscht joined #scheme 2016-02-21T11:39:15Z mmos joined #scheme 2016-02-21T11:47:25Z elflng quit (Read error: No route to host) 2016-02-21T12:21:41Z dmiles_afk quit (Read error: Connection reset by peer) 2016-02-21T12:22:33Z dmiles_afk joined #scheme 2016-02-21T12:27:27Z cemerick quit (Ping timeout: 276 seconds) 2016-02-21T12:32:29Z pjb quit (Ping timeout: 240 seconds) 2016-02-21T12:53:26Z davexunit joined #scheme 2016-02-21T13:00:19Z _sjs joined #scheme 2016-02-21T13:04:59Z _sjs quit (Ping timeout: 240 seconds) 2016-02-21T13:17:57Z jusss joined #scheme 2016-02-21T13:29:48Z magine-pc joined #scheme 2016-02-21T13:37:57Z aap_ is now known as aap 2016-02-21T13:53:26Z AlexDenisov joined #scheme 2016-02-21T14:07:49Z grettke joined #scheme 2016-02-21T14:16:36Z grettke quit (Quit: Textual IRC Client: www.textualapp.com) 2016-02-21T14:38:16Z stux|work quit (Quit: Aloha!) 2016-02-21T14:44:31Z stux|work joined #scheme 2016-02-21T14:51:56Z kuribas joined #scheme 2016-02-21T14:58:13Z wildlander joined #scheme 2016-02-21T14:58:14Z wildlander quit (Max SendQ exceeded) 2016-02-21T14:58:58Z wildlander joined #scheme 2016-02-21T15:00:21Z grublet quit (Read error: Connection reset by peer) 2016-02-21T15:00:35Z hiroakip joined #scheme 2016-02-21T15:03:10Z ecraven: Does any open source Scheme have a compiler based on A Nanopass Framework for Compiler Education (http://www.cs.indiana.edu/~dyb/pubs/nano-jfp.pdf)? 2016-02-21T15:03:37Z micmus quit (Ping timeout: 244 seconds) 2016-02-21T15:08:40Z wasamasa: you could make one 2016-02-21T15:12:55Z wasamasa: I believe that's the point of this paper 2016-02-21T15:14:33Z ecraven: wasamasa: Indeed, but before embarking on that journey, it would be interesting if anyone has taken it before :) Chez Scheme did, but that's lost inside Cisco (I think?) at the moment.. 2016-02-21T15:18:15Z hnagamin joined #scheme 2016-02-21T15:19:44Z cojy: there's a couple toy ones on GitHub 2016-02-21T15:41:11Z micmus joined #scheme 2016-02-21T15:41:20Z hnagamin quit (Ping timeout: 244 seconds) 2016-02-21T15:41:40Z magine-pc quit (Remote host closed the connection) 2016-02-21T15:43:17Z magine-pc joined #scheme 2016-02-21T15:49:01Z jusss quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-02-21T15:49:03Z grettke joined #scheme 2016-02-21T15:52:20Z lolcow joined #scheme 2016-02-21T15:53:24Z grublet joined #scheme 2016-02-21T15:54:02Z leppie quit (Ping timeout: 250 seconds) 2016-02-21T15:54:30Z hnagamin joined #scheme 2016-02-21T15:55:10Z kuribas quit (Quit: ERC Version 5.3 (IRC client for Emacs)) 2016-02-21T16:20:49Z magine-pc quit (Ping timeout: 255 seconds) 2016-02-21T16:31:52Z _sjs joined #scheme 2016-02-21T16:31:56Z magine-pc joined #scheme 2016-02-21T16:37:08Z _sjs quit (Ping timeout: 244 seconds) 2016-02-21T16:47:31Z sondr3 quit (Quit: Sleep) 2016-02-21T16:51:11Z lambda-11235 joined #scheme 2016-02-21T17:06:49Z davexunit quit (Quit: Later) 2016-02-21T17:08:21Z pierpa joined #scheme 2016-02-21T17:10:15Z davidh quit (Read error: Connection reset by peer) 2016-02-21T17:10:47Z gf3 quit (Remote host closed the connection) 2016-02-21T17:27:25Z magine-pc quit (Remote host closed the connection) 2016-02-21T17:28:32Z magine-pc joined #scheme 2016-02-21T17:49:17Z grettke quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-02-21T17:51:20Z magine-pc quit (Remote host closed the connection) 2016-02-21T17:51:56Z magine-pc joined #scheme 2016-02-21T17:56:19Z grettke joined #scheme 2016-02-21T17:59:31Z magine-pc quit (Ping timeout: 248 seconds) 2016-02-21T18:08:01Z adu joined #scheme 2016-02-21T18:08:13Z magine-pc joined #scheme 2016-02-21T18:09:29Z hnagamin quit (Ping timeout: 240 seconds) 2016-02-21T18:11:28Z dmiles_afk quit (Ping timeout: 252 seconds) 2016-02-21T18:11:29Z dmiles_akf joined #scheme 2016-02-21T18:12:01Z AlexDenisov quit (Ping timeout: 252 seconds) 2016-02-21T18:12:02Z ggole quit (Ping timeout: 252 seconds) 2016-02-21T18:12:02Z Menche quit (Ping timeout: 252 seconds) 2016-02-21T18:12:11Z AlexDeni_ joined #scheme 2016-02-21T18:14:04Z Menche joined #scheme 2016-02-21T18:21:52Z mastokley joined #scheme 2016-02-21T18:22:21Z magine-pc quit (Ping timeout: 276 seconds) 2016-02-21T18:24:00Z ggole joined #scheme 2016-02-21T18:25:25Z juanfra quit (Quit: juanfra) 2016-02-21T18:27:35Z juanfra joined #scheme 2016-02-21T18:29:51Z hnagamin joined #scheme 2016-02-21T18:34:12Z adu quit (Quit: adu) 2016-02-21T18:43:22Z magine-pc joined #scheme 2016-02-21T18:44:31Z _sjs joined #scheme 2016-02-21T18:45:20Z lolcow is now known as leppie 2016-02-21T18:45:42Z cemerick joined #scheme 2016-02-21T18:47:15Z daviid joined #scheme 2016-02-21T18:48:59Z _sjs quit (Ping timeout: 240 seconds) 2016-02-21T18:48:59Z mmos quit (Ping timeout: 240 seconds) 2016-02-21T18:51:59Z magine-pc quit (Ping timeout: 240 seconds) 2016-02-21T19:01:36Z turbopape joined #scheme 2016-02-21T19:02:10Z mmos joined #scheme 2016-02-21T19:04:43Z magine-pc joined #scheme 2016-02-21T19:05:45Z Riastradh joined #scheme 2016-02-21T19:06:29Z mmos quit (Ping timeout: 240 seconds) 2016-02-21T19:12:57Z magine-pc quit (Ping timeout: 250 seconds) 2016-02-21T19:16:24Z cemerick quit (Ping timeout: 250 seconds) 2016-02-21T19:21:19Z gf3 joined #scheme 2016-02-21T19:23:18Z magine-pc joined #scheme 2016-02-21T19:24:44Z AlexDenisov joined #scheme 2016-02-21T19:25:03Z AlexDeni_ quit (Ping timeout: 244 seconds) 2016-02-21T19:26:25Z pjb joined #scheme 2016-02-21T19:32:16Z charchyboy joined #scheme 2016-02-21T19:34:31Z magine-pc quit (Ping timeout: 252 seconds) 2016-02-21T19:34:59Z gravicappa quit (Ping timeout: 240 seconds) 2016-02-21T19:35:03Z hnagamin quit (Ping timeout: 240 seconds) 2016-02-21T19:35:13Z amgarchIn9 quit (Ping timeout: 255 seconds) 2016-02-21T19:35:50Z hnagamin joined #scheme 2016-02-21T19:42:14Z magine-pc joined #scheme 2016-02-21T19:50:31Z mastokley quit (Ping timeout: 255 seconds) 2016-02-21T19:50:36Z amgarchIn9 joined #scheme 2016-02-21T19:52:40Z magine-pc quit (Ping timeout: 252 seconds) 2016-02-21T20:00:11Z magine-pc joined #scheme 2016-02-21T20:00:42Z turbopape quit (Ping timeout: 244 seconds) 2016-02-21T20:11:52Z Riastradh quit (Ping timeout: 250 seconds) 2016-02-21T20:16:59Z m1dnight_ quit (Ping timeout: 240 seconds) 2016-02-21T20:17:58Z narendraj9 quit (Ping timeout: 255 seconds) 2016-02-21T20:20:57Z narendraj9 joined #scheme 2016-02-21T20:22:04Z hiroakip quit (Ping timeout: 240 seconds) 2016-02-21T20:23:38Z pjb is now known as bar` 2016-02-21T20:24:20Z bar` is now known as pjb 2016-02-21T20:35:19Z Opodeldoc_ joined #scheme 2016-02-21T20:39:03Z Opodeldoc quit (Ping timeout: 240 seconds) 2016-02-21T20:48:34Z magine-pc quit (Ping timeout: 255 seconds) 2016-02-21T20:49:29Z turbopape joined #scheme 2016-02-21T20:51:25Z magine-pc joined #scheme 2016-02-21T20:51:51Z hnagamin quit (Ping timeout: 244 seconds) 2016-02-21T20:58:28Z john51 joined #scheme 2016-02-21T21:05:24Z ggole quit 2016-02-21T21:09:59Z magine-pc quit (Ping timeout: 240 seconds) 2016-02-21T21:11:21Z turbopape quit (Quit: Quitte) 2016-02-21T21:11:53Z _sjs joined #scheme 2016-02-21T21:13:02Z magine-pc joined #scheme 2016-02-21T21:13:40Z nilg joined #scheme 2016-02-21T21:15:20Z nilg quit (Remote host closed the connection) 2016-02-21T21:16:03Z _sjs quit (Ping timeout: 240 seconds) 2016-02-21T21:23:38Z spew joined #scheme 2016-02-21T21:24:24Z daviid quit (Ping timeout: 244 seconds) 2016-02-21T21:28:03Z amgarchIn9 quit (Ping timeout: 248 seconds) 2016-02-21T21:32:34Z oleo_ quit (Read error: Connection reset by peer) 2016-02-21T21:33:17Z oleo__ joined #scheme 2016-02-21T21:34:20Z cemerick joined #scheme 2016-02-21T21:40:21Z Opodeldoc_ quit (Quit: Leaving) 2016-02-21T21:40:56Z cemerick quit (Ping timeout: 244 seconds) 2016-02-21T21:50:18Z amgarchIn9 joined #scheme 2016-02-21T21:55:28Z Menche quit (Quit: Leaving) 2016-02-21T22:00:49Z pjb is now known as bar` 2016-02-21T22:02:01Z bar` is now known as pjb 2016-02-21T22:04:16Z davexunit joined #scheme 2016-02-21T22:09:39Z lritter quit (Ping timeout: 248 seconds) 2016-02-21T22:10:59Z magine-pc quit (Ping timeout: 240 seconds) 2016-02-21T22:12:17Z john51 quit (Quit: leaving) 2016-02-21T22:12:53Z john51 joined #scheme 2016-02-21T22:14:39Z magine-pc joined #scheme 2016-02-21T22:23:12Z john51 quit (Quit: leaving) 2016-02-21T22:23:56Z john51 joined #scheme 2016-02-21T22:26:08Z pjb is now known as foo` 2016-02-21T22:26:32Z foo` is now known as bar` 2016-02-21T22:28:00Z bar` is now known as pjb 2016-02-21T22:28:19Z pjb is now known as pjb` 2016-02-21T22:28:26Z pjb` is now known as pjb 2016-02-21T22:29:42Z john51_ joined #scheme 2016-02-21T22:32:36Z AlexDenisov quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-02-21T22:33:34Z john51 quit (Ping timeout: 240 seconds) 2016-02-21T22:33:44Z grettke quit (Quit: My Mac has gone to sleep. ZZZzzz…) 2016-02-21T22:37:55Z magine-pc quit (Remote host closed the connection) 2016-02-21T22:39:28Z magine-pc joined #scheme 2016-02-21T22:43:15Z john51 joined #scheme 2016-02-21T22:46:59Z john51_ quit (Ping timeout: 240 seconds) 2016-02-21T22:47:01Z john51__ joined #scheme 2016-02-21T22:49:45Z magine-pc quit (Remote host closed the connection) 2016-02-21T22:49:45Z spew quit (Read error: Connection reset by peer) 2016-02-21T22:50:43Z magine-pc joined #scheme 2016-02-21T22:51:14Z john51_ joined #scheme 2016-02-21T22:51:25Z john51 quit (Ping timeout: 255 seconds) 2016-02-21T22:55:28Z john51__ quit (Ping timeout: 255 seconds) 2016-02-21T23:00:17Z pjb is now known as foo` 2016-02-21T23:00:23Z foo` is now known as pjb1 2016-02-21T23:00:28Z pjb1 is now known as pjb 2016-02-21T23:04:57Z john51 joined #scheme 2016-02-21T23:06:43Z sethalves quit (Ping timeout: 248 seconds) 2016-02-21T23:07:45Z john51 quit (Client Quit) 2016-02-21T23:07:59Z pjb quit (Quit: ERC (IRC client for Emacs 24.5.1)) 2016-02-21T23:08:20Z john51 joined #scheme 2016-02-21T23:08:46Z john51_ quit (Ping timeout: 244 seconds) 2016-02-21T23:11:47Z john51 quit (Client Quit) 2016-02-21T23:12:10Z wasamasa quit (Quit: ZNC - http://znc.in) 2016-02-21T23:12:16Z wasamasa joined #scheme 2016-02-21T23:12:16Z wasamasa quit (Changing host) 2016-02-21T23:12:16Z wasamasa joined #scheme 2016-02-21T23:12:22Z john51 joined #scheme 2016-02-21T23:13:26Z wildlander quit (Quit: Saliendo) 2016-02-21T23:16:28Z john51_ joined #scheme 2016-02-21T23:17:43Z n_blownapart joined #scheme 2016-02-21T23:17:46Z john51_ quit (Client Quit) 2016-02-21T23:18:32Z n_blownapart: hi anyone point me to best explanatory solutions for sicp exercises on the web? 2016-02-21T23:18:45Z john51_ joined #scheme 2016-02-21T23:20:08Z john51 quit (Ping timeout: 244 seconds) 2016-02-21T23:26:05Z charchyboy: n_blownapart: looking for homework answers? 2016-02-21T23:26:53Z n_blownapart: not at all. self-taught, 54 years old . thanks charchyboy 2016-02-21T23:27:32Z n_blownapart: I hit a wall ^ 2016-02-21T23:28:09Z charchyboy: There isn't one single source for solutions. I suppose the best way would be to look for specific solutions on Stack Overflow or ask them on here (responses on IRC are typically slow though) 2016-02-21T23:28:58Z charchyboy: Sounds like it, based on your username :P 2016-02-21T23:28:59Z mikeyhc: n_blownapart: http://community.schemewiki.org/?SICP-Solutions has a few of them 2016-02-21T23:29:25Z grettke joined #scheme 2016-02-21T23:29:52Z n_blownapart: thanks charchyboy its excruciatingly slow .. thanks mikeyhc 2016-02-21T23:32:03Z magine-pc quit (Remote host closed the connection) 2016-02-21T23:32:38Z sethalves joined #scheme 2016-02-21T23:33:50Z magine-pc joined #scheme 2016-02-21T23:35:15Z magine-pc quit (Remote host closed the connection) 2016-02-21T23:36:05Z magine-pc joined #scheme 2016-02-21T23:38:51Z _sjs joined #scheme 2016-02-21T23:43:07Z n_blownapart: https://www.refheap.com/115043 charchyboy mikeyhc this is what I'm working on if you care to look. The second program handles the squareRoot of very small / very large numbers. 2016-02-21T23:43:20Z _sjs quit (Ping timeout: 250 seconds) 2016-02-21T23:44:38Z n_blownapart: the second solution I got from the internet. I can't get my mind around it. the first program I essentially understand pretty well. 2016-02-21T23:45:42Z n_blownapart: first question is precisely why the first one cannot work on very small or very large numbers. 2016-02-21T23:47:40Z magine-pc quit (Ping timeout: 250 seconds) 2016-02-21T23:50:39Z magine-pc joined #scheme 2016-02-21T23:57:09Z wasamasa: I recommend grabbing pen and paper and writing down every single step of execution, be it of your program or the algorithm as devised in the book 2016-02-21T23:57:14Z wasamasa: then comparing both