00:00 Lajla: franki^, don't prime factor much? 00:01 franki^: Unfortunately not, although it might make it onto my New Year's resolutions 00:02 Lajla: franki^, it's lot's of fun. 00:02 Lajla: franki^, prime factor 2! 00:02 Lajla: You can do it. 00:05 franki^: I'll do it once Racket finishes compiling, I wouldn't want to overheat my laptop ;) 00:11 Lajla: in racket? 00:21 franki^: I guess, but, hrnnn, something seems to have gone terribly wrong. Although I saw no errors, or even warnings, whilst compiling, drracket starts with an odd-shaped window and all of the menus are blank... 00:22 franki^: Unfortunately it's a bit late for me to worry about it now, with work in the morning and all that... 00:22 franki^: I'll try again on the weekend or something 00:22 franki^ wanders off 00:55 (quit) jeapostrophe: Quit: jeapostrophe 00:56 (quit) alexsuraci: Quit: Changing server 00:59 (join) alexsuraci 01:12 (join) Danikar 01:45 (join) offby2 01:48 (quit) Danikar: Ping timeout: 265 seconds 01:53 (join) alexsuraci_ 02:10 (quit) offby2: Quit: Colloquy for iPad - http://colloquy.mobi 02:32 (quit) alexsuraci_: Quit: alexsuraci_ 03:43 (join) lucian 04:37 (quit) lucian: Remote host closed the connection 04:42 Lajla calls offby1 with the current continuation 04:46 (join) hanDerPeder 06:06 (join) masm 06:32 (quit) orlandu63: Ping timeout: 245 seconds 06:32 (join) orlandu63 07:43 (join) b-man_ 07:52 (join) mceier 08:05 (quit) asumu: Quit: Leaving 08:12 (join) jeapostrophe 08:18 (join) MayDaniel 08:19 (quit) hanDerPeder: Quit: hanDerPeder 08:30 (quit) jeapostrophe: Quit: jeapostrophe 08:30 (join) kghost 08:31 (quit) MayDaniel: 08:36 kghost: Hi, I found racket's unfold-right is different from srfi-1's unfold-right 08:51 (quit) kghost: *.net *.split 08:51 (quit) b-man_: *.net *.split 08:51 (quit) Lajla: *.net *.split 08:51 (quit) Guest1821: *.net *.split 08:52 (join) kghost 08:52 (join) Lajla 08:52 (join) Guest1821 08:59 (join) jeapostrophe 09:07 (join) hanDerPeder 09:33 (join) b-man_ 10:28 (join) martinhex 10:31 (join) MayDaniel 10:33 (quit) b-man_: Remote host closed the connection 10:53 (quit) martinhex: Remote host closed the connection 10:56 (quit) Lajla: Read error: Connection reset by peer 10:56 (join) Lajla 11:09 (join) rmitt__ 11:24 (join) anRch 11:31 (join) b-man_ 11:31 (quit) b-man_: Remote host closed the connection 11:31 (join) b-man_ 11:41 (join) tonyg 11:45 (join) Nanakhiel 11:46 (quit) rmitt__: Quit: Page closed 11:47 (quit) Lajla: Read error: Connection reset by peer 12:17 (quit) anRch: Quit: anRch 12:22 (join) Waldteufel 12:22 Waldteufel: hey :D 12:24 (join) anRch 12:25 (join) jeapostrophe_ 12:25 (quit) jeapostrophe: Read error: Connection reset by peer 12:25 (nick) jeapostrophe_ -> jeapostrophe 12:37 (quit) jeapostrophe: Quit: jeapostrophe 12:42 (quit) hanDerPeder: Quit: hanDerPeder 12:43 (quit) anRch: Quit: anRch 12:46 (quit) tv|z: Ping timeout: 252 seconds 12:47 (join) tv|z 12:49 (part) Waldteufel 13:41 (quit) MayDaniel: 13:56 (join) hanDerPeder 14:02 (join) anRch 14:02 (join) hanDerPeder_ 14:02 (quit) hanDerPeder: Read error: Connection reset by peer 14:02 (nick) hanDerPeder_ -> hanDerPeder 14:06 (nick) Nanakhiel -> Lajla 14:20 (quit) hanDerPeder: Read error: Connection reset by peer 14:20 (join) hanDerPeder 14:21 (join) shofetim 14:23 (join) jonrafkind 14:45 (quit) hanDerPeder: Quit: hanDerPeder 15:06 (join) kghost_ 15:10 (quit) kghost: Ping timeout: 272 seconds 15:15 (join) kghost 15:19 (quit) kghost_: Ping timeout: 245 seconds 15:24 (join) hanDerPeder 15:25 (join) kghost_ 15:28 (quit) kghost: Ping timeout: 260 seconds 15:29 (quit) hanDerPeder: Quit: hanDerPeder 15:32 (quit) anRch: Quit: anRch 15:35 (join) kghost 15:38 (quit) kghost_: Ping timeout: 245 seconds 15:42 (join) Bob_ 15:42 Bob_: hi everyone 15:46 (join) hanDerPeder 15:48 (quit) hanDerPeder: Client Quit 16:11 (join) hanDerPeder 16:15 (quit) hanDerPeder: Client Quit 16:24 Bob_: plox 16:24 (quit) Bob_: Quit: Page closed 16:28 (join) jeapostrophe 16:40 shofetim: /? 16:58 rapacity: it's a trick 17:15 askhader: does (let ) contain an implicit begin? 17:16 jonrafkind: yes 17:16 askhader: Thought so, thanks 17:47 (join) dchest 17:50 (part) dchest 18:06 (join) hanDerPeder 18:18 (quit) jeapostrophe: Quit: jeapostrophe 18:29 (quit) hanDerPeder: Read error: Connection reset by peer 18:32 (join) hanDerPeder 18:48 (join) Quetzalcoatl_ 18:57 (quit) kghost: Ping timeout: 240 seconds 18:59 (join) jeapostrophe 19:21 (quit) mceier: Quit: leaving 19:28 (quit) jeapostrophe: Quit: jeapostrophe 19:30 (join) jeapostrophe 19:31 Lajla: Hmm 19:31 Lajla: how exactly does the number->string procedure work for inexact numbers 19:32 Lajla: Because I've got no idea how to implement such a function without having access to the bitvector that makes up the float. (and even then I would have to study the float standard a bit better) 19:33 Lajla: jonrafkind, you will be my saviour for this one. 19:34 (quit) hanDerPeder: Quit: hanDerPeder 19:45 Quetzalcoatl_: Lajla: For inexact numbers, number->string uses C's sprintf function. 19:47 Lajla: Isn't it a library function? 19:48 Quetzalcoatl_: It's written in C. 19:48 Lajla: Or is there a way to make it one? 19:48 Lajla: Like, can I make a my-number->string function in racket alone? 19:51 Quetzalcoatl_: (define (my-number->string n) (format "~a" n)) 19:58 (quit) b-man_: Ping timeout: 240 seconds 19:58 (join) b-man_ 20:15 Lajla: Ehhh 20:15 Lajla: maybe I was a bit unclear. 20:15 Lajla: I want an algorithm that can get the digits from a float. 20:15 Lajla: Or basically 20:15 Lajla: From what racket or scheme exposes from them 20:19 Quetzalcoatl_: The best starting point I can think of for that would be to use the floor function. 20:19 Quetzalcoatl_: But the solution forming in my head doesn't handle exponential notation. 20:20 Quetzalcoatl_: To get at the bits that make up a float, you really have to use C. 20:20 Quetzalcoatl_: Or assembly language. 20:21 Quetzalcoatl_: You could write a C function that simply returns its float argument as an int, using type punning. Then Racket's bitwise operators would work. 20:24 jonrafkind: wohat 20:26 jonrafkind: Lajla, theres a paper by clinger that described how to print real numbers 20:26 jonrafkind: actually i think the paper was by steele 20:26 jonrafkind: clinger did the 'how to read iee numbers' or something 20:32 Quetzalcoatl_: I've got the paper. It assumes you have the binary representation of the float to start with. 20:35 (quit) jeapostrophe: Quit: jeapostrophe 20:35 Quetzalcoatl_: Lajla's problem was that Racket doesn't give you access to the bits that make up an inexact. 20:39 Quetzalcoatl_: The solution to _that_ problem is a C function that returns a number whose bits Racket _can_ manipulate-- an integer with the same bit pattern as the float. 20:42 jonrafkind: well, that presumes a great deal about how racket stores floats 20:49 (join) jeapostrophe 20:49 Lajla: So like 20:49 Lajla: this is advanced? 20:49 Lajla: Good, I was feeling stupid. 20:49 Lajla: But yeah 20:49 Lajla: I guess floor is a good start 20:49 Lajla: Basically divide by base, floro again et cetera until you reach the epsilon 20:56 Quetzalcoatl_: I looked at the source. Racket stores floats as C doubles. 20:56 Lajla: As to be expected 20:57 Lajla: It'smore like 20:57 Lajla: scheme deosn even have floats right? 20:57 Lajla: It has 'inexact numbers' 20:57 Lajla: With the dire understanding that any implementation will float them. 20:57 Lajla: But it's more that I want to print them with R5RS alone I think 20:57 Lajla: But I got a good idea if I can use floor 21:08 Quetzalcoatl_: Lajla: Don't forget to handle infinity. 21:39 (part) shofetim: "ERC Version 5.3 (IRC client for Emacs)" 22:01 (quit) jonrafkind: Ping timeout: 265 seconds 22:06 (quit) b-man_: Remote host closed the connection 22:58 (join) shofetim 23:45 (quit) masm: Quit: Leaving.