lp:~mgiuca/mars/float

Created by Matt Giuca and last modified
Get this branch:
bzr branch lp:~mgiuca/mars/float
Only Matt Giuca can upload to this branch. If you are Matt Giuca please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Matt Giuca
Project:
Mars
Status:
Merged

Recent revisions

1332. By Matt Giuca

doc: Replaced all textual references to integers with references to numbers.
Updated some parts (such as the tutorial) to show non-integer numbers.

1331. By Matt Giuca

doc: builtins, prelude: Added mention of error conditions regarding non-integral inputs to functions that expect integers.

1330. By Matt Giuca

test_builtins: Added an error test case, calling error with a fractional number.

1329. By Matt Giuca

doc toplevel: Describe how the result of main is converted into an int.

1328. By Matt Giuca

test_bignum: Rewrote the tests to test the limits of floating point requirements.
This has four distinct tests: big (largest precise integers), huge (largest values), small (smallest precise values between -1 and 1) and tiny (smallest nonzero values).
All pass.

1327. By Matt Giuca

test_builtins: Removed test_arithmetic_bignum and test_arithmetic_overflow.
These are no longer relevant given that we use floating point; they were failing because the floating point has a smaller range than bignums.
Overflow is now undefined behaviour, so we do not test it.

1326. By Matt Giuca

doc/values: Describe the guarantee that a certain precision will be available for all numbers between -1 and 1.

1325. By Matt Giuca

doc exprs: Fix reference to num_literal_expr (was: int_literal_expr).

1324. By Matt Giuca

Case switch-intlit: Added float literal tests as well.

1323. By Matt Giuca

Merge from trunk (allow negative intlit patterns).

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:mars
This branch contains Public information 
Everyone can see this information.

Subscribers