>From the cheap seats. Built clean. Except for warning below. Test failed as libffi as initially was not found by the dynamic load. After adjusting version in mpfr.rkt. Test produced pi ... 4888
Applicable lib version on Ubuntu 12.10. /usr/lib/x86_64-linux-gnu/libmpfr.so.4 /usr/lib/x86_64-linux-gnu/libmpfr.so.4.1.0 raco setup: WARNING: undefined tag in math/scribblings/math.scrbl: raco setup: ((lib "math/main.rkt") dist-pdf) raco setup: ((lib "math/main.rkt") untyped-prev-prime) raco setup: ((lib "math/main.rkt") factorial) raco setup: ((lib "math/main.rkt") mod) raco setup: ((lib "math/main.rkt") beta-dist) raco setup: ((lib "math/main.rkt") untyped-next-prime) raco setup: ((lib "math/main.rkt") gamma-dist) raco setup: ((lib "math/main.rkt") flexpt1p) raco setup: ((lib "math/main.rkt") normal-dist) On Fri, Nov 16, 2012 at 1:59 PM, Neil Toronto <neil.toro...@gmail.com>wrote: > I've just made the initial commit for the math library. You will all > notice the build time increase. Some will notice that "(require math)" > imports a bunch of goodies that Racket didn't have before. > > About half is documented so far, and half has coverage in the test cases. > Some things are known to be broken, but not many. The most egregious, which > needs to be fixed very soon, is this one: > > ***** > > Because of recent changes to how Typed Racket deals with Any types at > the contract boundary, typed/rackunit cannot now test higher-order > values, such as arrays. > > ***** > > A practical consequence is that "math/tests/array-tests.rkt" simply > doesn't run. > > One thing I'm not sure of is whether the FFI to libmpfr works on all our > supported platforms. Could I have all the devs run the following program > after your next compile? > > #lang racket > (require math/bigfloat) > > (parameterize ([bf-precision 8192]) > pi.bf) > > Then reply with the last four digits printed. They should be "4888". If > the program doesn't run because Racket can't load libmpfr, it's an > opportunity to test the documentation. Please see if I've made the docs for > the `math/bigfloat' module clear enough to help you fix the problem. > > Thanks! > > Neil ⊥ > _________________________ > Racket Developers list: > http://lists.racket-lang.org/**dev <http://lists.racket-lang.org/dev> >
_________________________ Racket Developers list: http://lists.racket-lang.org/dev