freenode/#lisp - IRC Chatlog
Search
17:49:34
shka_
but on the other hand, since pmap blocks thread, it can designate it's home thread for computation
17:51:14
phoe
from what I understand, PMAP should never be put in code that the workers are executing.
17:55:00
phoe
shka_: you can theoretically put calls to parallel functions in there, as long as you redefine *KERNEL* to something else
19:53:09
krwq
what's the most generic specialization for strings in defgeneric? I've tried using just `string` but it seems that when element is #<(SIMPLE-ARRAY CHARACTER (3)) {10099D919F}> this doesn't worl
20:07:10
krwq
is there a way to force errors when generic functions are created implicitly when defmethod is used?
20:08:58
fourier
fe[nl]ix: I've fixed that you've requested in osicat pull requests(there are 2 from me), but there is something strange on travis - sbcl unable to install.. I guess
3:52:38
Zhivago
Above, you are printing one edge of that interval at some precision and assuming that it corresponds with the identity of the inteval, which is not true.
3:59:11
pierpa
try (decode-float 0.00002), (decode-float 0.00003), etc, then check references to understand what the results mean.
4:15:37
beach
fourroot: It is not that floating-point arithmetic is inexact. It isn't. At least not with IEEE floating point numbers. But, for a decimal fraction like the ones you give as examples, there is no exact binary floating point value for them, so you typically get the closest available one.
5:19:38
stacksmith
Your question makes no sense. '(+ 2 2) is a list. You could compile it, make a function, and run it - is that what you mean?
5:22:43
Digit
hi. (presumably) quick question, why does (- 9000 (* (round 9000 100) 99.99)) return 0.9003906, instead of just 0.9? ( same behaviour with s/round/floor|truncate|ceiling/ ) ~ poking around in ghci (which i'm similarly incompetent in), and i get the likes of "9000-8999.1" giving 0.8999999999996362. !? why's this madness not corrected? or is it correct, and i'm the one who's gone mad? srsly tho, there's a word for this, right? (to