summaryrefslogtreecommitdiff
path: root/libguile/numbers.c
AgeCommit message (Expand)AuthorFilesLines
2011-12-02fix `free' of mpz_to_strAndy Wingo1-1/+7
2011-12-02install gmp memory functions that let libgc know about allocationsAndy Wingo1-2/+40
2011-10-09New functions scm_is_exact and scm_is_inexactMike Gran1-0/+10
2011-09-03Fix misdiagnoses of deprecated `+nan.[^0]' forms.Ludovic Courtès1-1/+4
2011-09-03deprecate +nan.1Andy Wingo1-1/+10
2011-07-28remove dead code in scm_ceiling_quotientAndy Wingo1-2/+0
2011-05-13fix type errorsAndy Wingo1-1/+1
2011-04-26Remove the `sizeof (mpz_t)' check.Ludovic Courtès1-3/+0
2011-04-25Make the `sizeof (mpz_t)' check at compile-time.Ludovic Courtès1-0/+5
2011-04-09Fix the R6RS exact-integer-sqrt and import into core guileMark H Weaver1-0/+64
2011-04-06Fix parsing of exact numbers with negative exponentsMark H Weaver1-1/+1
2011-03-17fix code that causes warnings on gcc 4.6Andy Wingo1-3/+5
2011-03-08Quotient, remainder and modulo accept inexact integersMark H Weaver1-6/+6
2011-03-08Update comments regarding GMP earlier than 4.2.Mark H Weaver1-14/+18
2011-02-22Portability fix for new log and log10Mark H Weaver1-1/+4
2011-02-16Improvements to `log' and `log10'Mark H Weaver1-18/+90
2011-02-15Use trunc in scm_i_inexact_truncate_divideMark H Weaver1-5/+2
2011-02-15Use trunc instead of scm_c_truncateMark H Weaver1-10/+3
2011-02-14Reduce code size of division operatorsMark H Weaver1-736/+62
2011-02-14Optimize truncate, round, floor, and ceilingMark H Weaver1-58/+29
2011-02-14Add four new sets of fast quotient and remainder operatorsMark H Weaver1-0/+2187
2011-02-14Optimize division operators handling of fractionsMark H Weaver1-137/+83
2011-02-14Make divide functions return values via (SCM *) output argumentsMark H Weaver1-93/+154
2011-02-12Fixes and improvements to number-theoretic division operatorsMark H Weaver1-43/+57
2011-02-12Add comment about handling of exactness specifiersMark H Weaver1-3/+32
2011-02-12Fix extensibility of 1-argument atanMark H Weaver1-1/+1
2011-02-09fix typos in the manual bits generated from source comments.Ralf Wildenhues1-1/+1
2011-02-03Improved exactness handling for complex number parsingMark H Weaver1-58/+55
2011-02-03Fix non-portable usage of `isinf' in `max' and `min'Mark H Weaver1-4/+9
2011-02-02Support non-real complex numbers with inexact zero imaginary partMark H Weaver1-42/+56
2011-02-02Improve handling of signed zeroesMark H Weaver1-12/+37
2011-02-02Trigonometric functions return exact numbers in some casesMark H Weaver1-12/+36
2011-02-02Fix `min' and `max' handling of NaNs, infinities, and signed zeroesMark H Weaver1-18/+75
2011-02-01Move comment about trig functions back where it belongsMark H Weaver1-6/+6
2011-02-01Handle products with exact 0 differentlyMark H Weaver1-20/+36
2011-02-01Fix bugs in `rationalize'Mark H Weaver1-12/+40
2011-01-31Improve extensibility of `expt' and `integer-expt'Mark H Weaver1-11/+17
2011-01-31Rename {euclidean,centered}_quo_rem to {euclidean,centered}_divideMark H Weaver1-63/+63
2011-01-30Improve extensibility of core numeric proceduresMark H Weaver1-210/+206
2011-01-30Add two new sets of fast quotient and remainder operatorsMark H Weaver1-2/+1225
2011-01-30Add SCM_LIKELY and SCM_UNLIKELY for optimizationMark H Weaver1-32/+33
2011-01-30Infinities and NaNs are no longer rationalMark H Weaver1-27/+13
2011-01-30`equal?' and `eqv?' are now equivalent for numbersMark H Weaver1-34/+0
2011-01-28Fix bugs when negating SCM_MOST_POSITIVE_FIXNUM+1Mark H Weaver1-1/+16
2011-01-28domain of inf?, finite?, nan? is the real numbersAndy Wingo1-21/+16
2011-01-28Remove useless code from do_divideMark H Weaver1-37/+23
2011-01-28Optimize scm_exact_p by making use of SCM_INEXACTPMark H Weaver1-21/+19
2011-01-28Implement `finite?' in core and fix R6RS `finite?' and `infinite?'Mark H Weaver1-0/+22
2011-01-28Add SCM_INUM1 to numbers.h, and make use of it and SCM_INUM0 in numbers.cMark H Weaver1-29/+29
2011-01-23Remove `scm_lfwrite_str'.Ludovic Courtès1-1/+1