summaryrefslogtreecommitdiff
path: root/libguile/numbers.c
Commit message (Expand)AuthorAgeFilesLines
* Handle GMP allocations through libgc and remove bignum finalizers....Ludovic Courtès2020-02-121-7/+12
* Optimize fixnum exact integer square roots....Mark H Weaver2019-05-071-32/+41
* Fix indentation in scm_sum.Mark H Weaver2019-05-071-67/+68
* Fix typo in comment.Mark H Weaver2019-05-071-1/+1
* In 'ash' and 'round-ash', handle right shift count of LONG_MIN....Mark H Weaver2018-10-141-2/+11
* Fix 'round-ash' of negative integers by huge right shift counts....Mark H Weaver2018-10-141-6/+10
* Gracefully handle huge shift counts in 'ash' and 'round-ash'....Mark H Weaver2018-10-141-3/+31
* Fix typo in comment within numbers.cMark H Weaver2018-06-111-1/+1
* Do not assume that sizeof (long) == sizeof (void *) == sizeof (SCM)....Mark H Weaver2017-03-011-7/+3
* Avoid signed integer overflows in numeric conversions....Mark H Weaver2017-03-011-5/+10
* Fix (* x -1) for GOOPS types...Andy Wingo2017-02-281-15/+13
* Use labs instead of abs where needed...Andy Wingo2017-02-211-1/+1
* Fix make-polar signedness of zeros on macOS...Matt Wette2017-02-211-0/+2
* Speed up number->string...Andy Wingo2017-02-171-3/+3
* Deprecate dynamic roots...Andy Wingo2016-11-211-1/+0
* Fix atan procedure when applied to complex numbers....Mark H Weaver2016-05-221-2/+2
* Don't return expressions from void functions in numbers.c...Mark H Weaver2016-05-221-138/+108
* scm_lfwrite, not scm_lfwrite_unlocked...Andy Wingo2016-04-261-5/+5
* Merge branch 'stable-2.0'...Mark H Weaver2014-04-251-5/+11
|\
| * Avoid undefined behavior regarding signed integers and left shifts....Mark H Weaver2014-03-111-6/+12
* | Merge branch 'stable-2.0'...Mark H Weaver2014-01-091-2/+21
|\|
| * Implement 'exact-integer?' and 'scm_is_exact_integer'....Mark H Weaver2014-01-081-2/+21
* | Merge commit 'd360671c1cca335600079f1c5714572d1c2e676d'Andy Wingo2013-11-281-1/+1
|\|
| * Fix edge case in 'ash'....Mark H Weaver2013-10-031-3/+6
| * Revert "Fix edge case in 'ash'."...Mark H Weaver2013-10-031-7/+4
* | Merge remote-tracking branch 'origin/stable-2.0'...Andy Wingo2013-10-031-4/+7
|\|
| * Fix edge case in 'ash'....Mark H Weaver2013-10-031-4/+7
* | Micro-optimize char_decimal_value....Andy Wingo2013-08-311-12/+17
* | Merge remote-tracking branch 'origin/stable-2.0'Mark H Weaver2013-08-111-6/+23
|\|
| * Fix inappropriate uses of scm_syserror in numbers.c....Mark H Weaver2013-08-101-4/+5
| * Fix numerator and denominator handling of signed zeroes and infinities....Mark H Weaver2013-08-091-2/+18
* | Eliminate use of deprecated 'SCM_WTA_DISPATCH_2' in numbers.c....Mark H Weaver2013-08-081-1/+1
* | Merge remote-tracking branch 'origin/stable-2.0'...Mark H Weaver2013-08-061-222/+312
|\|
| * Use Gnulib's 'isfinite' in numbers.c....Mark H Weaver2013-08-061-15/+6
| * Use Gnulib's 'copysign' in numbers.c....Mark H Weaver2013-08-061-18/+10
| * Add 'scm_i_from_double' and use it....Mark H Weaver2013-08-021-117/+123
| * Fix minor formatting error in 'rationalize'....Mark H Weaver2013-07-211-2/+2
| * Rewrite 'rationalize' to fix bugs and improve efficiency....Mark H Weaver2013-07-211-76/+177
* | Merge remote-tracking branch 'origin/stable-2.0'...Mark H Weaver2013-07-161-27/+53
|\|
| * gcd and lcm support inexact integer arguments....Mark H Weaver2013-07-161-16/+45
| * min and max: NaNs beat infinities, per R6RS errata....Mark H Weaver2013-07-161-10/+8
* | Merge remote-tracking branch 'origin/stable-2.0'...Mark H Weaver2013-07-161-33/+82
|\|
| * Avoid lossy conversion from inum to double in numerical comparisons....Mark H Weaver2013-07-161-2/+38
| * Fix bugs in numerical equality predicate....Mark H Weaver2013-07-161-27/+33
| * Fix rounding in scm_i_divide2double for negative arguments....Mark H Weaver2013-07-161-4/+11
* | Merge remote-tracking branch 'origin/stable-2.0'Mark H Weaver2013-03-281-1/+30
|\|
| * Allow compilation with GMP < 5.0.0....Ludovic Courtès2013-03-281-1/+30
* | Merge remote-tracking branch 'origin/stable-2.0'...Mark H Weaver2013-03-281-606/+1038
|\|
| * Improve sqrt handling of large integers and large and small rationals....Mark H Weaver2013-03-201-21/+112
| * Optimize inum case of exact-integer-sqrt....Mark H Weaver2013-03-201-16/+8