33
44[ ![ Build Status] ( https://travis-ci.org/uwplse/herbie.svg?branch=master )] ( https://travis-ci.org/uwplse/herbie )
55
6- Herbie synthesizes floating-point programs from real-number programs,
7- automatically handling simple numerical instabilities. Visit [ our
8- website ] ( https://herbie.uwplse.org ) for tutorials, documentation, and
9- an online demo. Herbie has semi-regular releases twice a year,
10- maintains backwards compatibility, and uses standardized formats.
6+ Herbie automatically improves the error of floating point expressions.
7+ Visit [ our website ] ( https://herbie.uwplse.org ) for tutorials,
8+ documentation, and an online demo. Herbie has semi-regular releases
9+ once a year, maintains backwards compatibility, and uses standardized
10+ formats.
1111
1212Installing
1313----------
1414
1515For full details on installing Herbie, please see the
1616[ tutorial] ( http://herbie.uwplse.org/doc/latest/installing.html ) .
1717
18- Herbie requires Racket 6.7 or later, and supports Windows, OS X , and
18+ Herbie requires Racket 7.0 or later, and supports Windows, macOS , and
1919Linux. Install it with:
2020
21- raco pkg install herbie
21+ raco pkg install --auto herbie
2222
2323This will install a ` herbie ` binary to somewhere in your home
2424directory. You can also run ` src/herbie.rkt ` directly instead of using
@@ -35,15 +35,14 @@ Herbie's input is a Scheme-based language called [FPCore](http://fpbench.org/spe
3535you can several examples in ` bench/ ` .
3636For example, consider this simple expression:
3737
38- (FPCore (x)
39- (- (+ 1 x) x))
38+ (FPCore (x) (- (+ 1 x) x))
4039
4140Run Herbie from the top-level directory of the repo, and enter the
4241cancellation test:
4342
4443 $ herbie shell
45- Herbie 1.2 with seed #(349461420 3681359142 2680361770 2900531005 1939065059 1779362427)
46- Find help on < https://herbie.uwplse.org/> , exit with Ctrl-D
44+ Herbie 1.3 with seed 1866513483
45+ Find help on https://herbie.uwplse.org/, exit with Ctrl-D
4746 herbie> (FPCore (x) (- (+ 1 x) x))
4847 (FPCore (x) ... 1)
4948
@@ -53,7 +52,7 @@ the constant `1`.
5352Besides the ` shell ` , Herbie also has a ` web ` interface, and can run on
5453files of FPCore expressions with the ` improve ` and ` report ` commands.
5554Consult the
56- [ documentation] ( http://herbie.uwplse.org/doc/latest/options .html ) .
55+ [ documentation] ( http://herbie.uwplse.org/doc/latest/tutorial .html ) .
5756for more.
5857
5958Helping Out
0 commit comments