summaryrefslogtreecommitdiff
path: root/test-suite/tests/numbers.test
Commit message (Expand)AuthorAgeFilesLines
* Have log and log10(real nan) return real nan regardless of signDaniel Llorens2022-01-131-1/+10
* Limit the range of ash, round-ash count argument to INT32Daniel Llorens2021-11-051-1/+4
* Baseline compiler no longer swaps rsh/lsh when transforming ash calls.Ludovic Courtès2021-09-201-2/+11
* In 'ash' and 'round-ash', handle right shift count of LONG_MIN.Mark H Weaver2019-05-231-0/+24
* Fix 'round-ash' of negative integers by huge right shift counts.Mark H Weaver2019-05-231-5/+5
* Gracefully handle huge shift counts in 'ash' and 'round-ash'.Mark H Weaver2019-05-231-2/+22
* Fix bug in comparison between real and complexDaniel Llorens2017-03-091-0/+9
* Fix atan procedure when applied to complex numbers.Mark H Weaver2016-05-221-3/+4
* Fix 'exact-integer?' comment in numbers.test.Mark H Weaver2014-01-121-1/+1
* Implement 'exact-integer?' and 'scm_is_exact_integer'.Mark H Weaver2014-01-081-0/+28
* Fix edge case in 'ash'.Mark H Weaver2013-10-031-1/+7
* Revert "Fix edge case in 'ash'."Mark H Weaver2013-10-031-7/+1
* Fix edge case in 'ash'.Mark H Weaver2013-10-031-1/+7
* Fix numerator and denominator handling of signed zeroes and infinities.Mark H Weaver2013-08-091-56/+38
* Rewrite 'rationalize' to fix bugs and improve efficiency.Mark H Weaver2013-07-211-0/+29
* gcd and lcm support inexact integer arguments.Mark H Weaver2013-07-161-2/+60
* min and max: NaNs beat infinities, per R6RS errata.Mark H Weaver2013-07-161-8/+8
* numbers.test: Fix inum/flonum comparison test on 32-bit machines.Mark H Weaver2013-07-161-2/+2
* Avoid lossy conversion from inum to double in numerical comparisons.Mark H Weaver2013-07-161-0/+39
* numbers.test: Avoid inexact arithmetic in computation of fixnum-bit.Mark H Weaver2013-07-161-1/+4
* Fix bugs in numerical equality predicate.Mark H Weaver2013-07-161-1/+25
* Fix rounding in scm_i_divide2double for negative arguments.Mark H Weaver2013-07-161-0/+13
* Add 2012 and 2013 to copyright notice on numbers.test.Mark H Weaver2013-04-101-1/+2
* Improve sqrt handling of large integers and large and small rationals.Mark H Weaver2013-03-201-1/+36
* Sqrt returns exact results when possible.Mark H Weaver2013-03-201-1/+39
* Use scientific notation only if there are enough trailing zeroes.Mark H Weaver2013-03-191-0/+4
* Reimplement idbl2str number printer.Mark H Weaver2013-03-171-22/+75
* Improve inexact division of exact integers.Mark H Weaver2013-03-171-1/+131
* Reimplement 'inexact->exact' to avoid mpq functions.Mark H Weaver2013-03-121-14/+66
* Simplify and improve scm_i_big2dbl, and add scm_i_big2dbl_2expMark H Weaver2013-03-121-13/+44
* Add 'round-ash', a rounding arithmetic shift operatorMark H Weaver2013-03-121-65/+49
* Optimize and simplify fractions code.Mark H Weaver2013-03-121-0/+6
* Improve standards conformance of string->number.Mark H Weaver2013-03-071-1/+11
* Avoid signed integer overflow in scm_productMark H Weaver2012-12-071-0/+10
* Test number-theoretic division by -0.0.Mark H Weaver2012-10-301-1/+1
* Revert "Add tests for 'exp' and 'expt' that should produce complex NaNs"Mark H Weaver2012-08-071-11/+1
* Add tests for 'exp' and 'expt' that should produce complex NaNsMark H Weaver2012-07-281-1/+11
* Angle of -0.0 is pi, not zeroMark H Weaver2012-07-281-2/+5
* Fix the R6RS exact-integer-sqrt and import into core guileMark H Weaver2011-04-091-0/+48
* Fix parsing of exact numbers with negative exponentsMark H Weaver2011-04-061-0/+5
* Quotient, remainder and modulo accept inexact integersMark H Weaver2011-03-081-0/+18
* Improvements to `log' and `log10'Mark H Weaver2011-02-161-18/+62
* Fix comment above number-theoretic division testsMark H Weaver2011-02-161-0/+14
* Optimize truncate, round, floor, and ceilingMark H Weaver2011-02-141-9/+403
* Add four new sets of fast quotient and remainder operatorsMark H Weaver2011-02-141-1/+74
* Fixes and improvements to number-theoretic division operatorsMark H Weaver2011-02-121-113/+148
* Improved exactness handling for complex number parsingMark H Weaver2011-02-031-12/+32
* Support non-real complex numbers with inexact zero imaginary partMark H Weaver2011-02-021-23/+164
* Improve handling of signed zeroesMark H Weaver2011-02-021-11/+66
* Trigonometric functions return exact numbers in some casesMark H Weaver2011-02-021-3/+99