nmessenger | I was flabbergasted when I learned that evaluation order for function arguments at the callsite was unspecified. |

nornagon | Pastorn: fromIntegral |

Pseudonym | Pastorn: Either you go through a Double, or you roll your own/grab a library. |

Pastorn | nornagon: is there some way to not do that? cheating? |

nornagon | not really, as far as I know |

ailndx | Pseudonym: only that is much bigger, most c code is also valid in c++ |

hpaste | The appropriate unification of architecture and congestion control has investigated e-business, and current trends suggest that the analysis of thin clients will soon emerge. In fact, few biologists would disagree with the investigation of rasterization, which embodies the key principles of e-voting technology. |

nornagon | :t sqrt |

lambdabot | forall a. (Floating a) => a -> a |

nornagon | @instances Floating |

lambdabot | Double, Float |

narain | doesn't make sense to take the sqrt of an int and expect an int back, does it? |

sorear | glguy: ping |

nmessenger | > let sqrti = round . sqrt . fromIntegral in sqrti 17 |

lambdabot | 4 |

sorear | that you? |

glguy | sorear: :) |

rt | I would anticipate that integer sqrt returns the largest n such that n*n <= the number. |

Cale | hpaste is spewing quackery now? |

sorear | glguy: looks like a spammer's dissociator |

roconnor | an integer square root ought to be added to the haskell libraries, it already exists in GMP as I understand |

glguy | http://pdos.csail.mit.edu/scigen/ |

lambdabot | Title: SCIgen - An Automatic CS Paper Generator |

narain | GMP? |

rt | i've been having fun with gmp a lot lately. |

Pseudonym | ?where+ isqrt http://andrew.bromage.org/darcs/numbertheory/Math/Util.hs |

lambdabot | Done. |

Pseudonym | Yes, you could probably also add a GMP binding. |

rt | used it to implement the B-B-P algorithm for hex digits of pi, and computed the billionth hex digit of pi. (took about three hours) |

Pseudonym | Note that my version is optimised for insanely large square roots. |

narain | GMP? is that the bignum library? |

sorear | Pseudonym: have you seen my binding to mpn_fib_ui? |

rt | gmplib.org |

Pseudonym | sorear: Yeah. |

roconnor | narain: GMP is the gnu multiprecision library. It is what GHC uses to implement integers. |

Pseudonym | Very cute. |

ray | hey, cool! scigen included my name in one of the citations as well as as an author that's nifty |