summaryrefslogtreecommitdiff
path: root/libguile/numbers.c
Commit message (Expand)AuthorAgeFilesLines
* Fix bad arguments to range_error() in numbers.cDaniel Llorens2022-09-301-2/+2
* Align argument type of scm_to_wchar with its declaration.Mikael Djurfeldt2022-02-101-1/+1
* Align return type of scm_to_wchar with its declaration.Mikael Djurfeldt2022-02-101-1/+1
* Have log and log10(real nan) return real nan regardless of signDaniel Llorens2022-01-131-8/+9
* Don't use HAVE_COPYSIGN in libguile/numbers.cDaniel Llorens2022-01-131-4/+0
* Simplify scm_abs for the real caseDaniel Llorens2022-01-131-11/+1
* Re-rewrite integer-expt in CAndy Wingo2022-01-131-13/+107
* Bignums avoid both custom GMP allocator and finalizersAndy Wingo2022-01-131-160/+1
* Avoid scm_i_mkbig outside numbers.c.Andy Wingo2022-01-131-9/+0
* Use scm_integer_to_double_z in numbers.c instead of big2dblAndy Wingo2022-01-131-21/+22
* Simplify magnitude, angleAndy Wingo2022-01-131-67/+12
* Remove last non-admin SCM_I_BIG_MPZ uses in numbers.cAndy Wingo2022-01-131-8/+4
* Simplify scm_exact_integer_quotientAndy Wingo2022-01-131-74/+28
* divide2double refactorAndy Wingo2022-01-131-9/+8
* Remove dead bignum frexp code from numbers.cAndy Wingo2022-01-131-46/+0
* Expose frexp from integers libAndy Wingo2022-01-131-2/+2
* Refactor scm_sqrt in terms of integers.[ch]Andy Wingo2022-01-131-153/+50
* Reimplement exact-integer-sqrt with integers.[ch]Andy Wingo2022-01-131-31/+10
* scm_to_mpz uses integer libAndy Wingo2022-01-131-1/+1
* Implement scm_{to,from}_wchar inlineAndy Wingo2022-01-131-7/+11
* Reimplement scm_{to,from}_{int64,uint64}Andy Wingo2022-01-131-17/+46
* Reimplement scm_{to,from}_{int32,uint32}Andy Wingo2022-01-131-14/+67
* Reimplement scm_from_int8 etcAndy Wingo2022-01-131-43/+114
* Reimplement scm_is_{un,}signed_integer for bignumsAndy Wingo2022-01-131-74/+13
* Fix scm_integer_to_double_z to always round; clean upsAndy Wingo2022-01-131-88/+41
* Clean up scm_divideAndy Wingo2022-01-131-223/+155
* Remove support for allowing exact numbers to be divided by zeroAndy Wingo2022-01-131-102/+18
* Simplify scm_product, use integer libAndy Wingo2022-01-131-189/+88
* Simplify scm_difference, use integer libAndy Wingo2022-01-131-233/+122
* Clean up scm_sumAndy Wingo2022-01-131-144/+63
* Simplify implementation of min, maxAndy Wingo2022-01-131-283/+47
* positive?, negative? use integer libAndy Wingo2022-01-131-10/+2
* Clean up <, reimplement in terms of integer libAndy Wingo2022-01-131-178/+99
* Reimplement = on integer lib, clean up scm_num_eq_pAndy Wingo2022-01-131-154/+32
* Build scm_integer_p on scm_is_integer, not vice versaAndy Wingo2022-01-131-15/+11
* Simplify scm_bigprintAndy Wingo2022-01-131-7/+2
* Implement integer-to-string with new integer libraryAndy Wingo2022-01-131-21/+6
* Implement scm_integer_length with new integer libraryAndy Wingo2022-01-131-32/+2
* Integer library takes bignums via opaque struct pointerAndy Wingo2022-01-131-73/+91
* Implement scm_logcount with new integer libraryAndy Wingo2022-01-131-32/+2
* Implement scm_bit_extract with new integer libraryAndy Wingo2022-01-131-53/+8
* Implement scm_ash with new integer libraryAndy Wingo2022-01-131-147/+52
* Reimplement integer-expt in SchemeAndy Wingo2022-01-131-120/+18
* Implement scm_modulo_expt with new integer libraryAndy Wingo2022-01-131-103/+7
* Implement scm_lognot with new integer libraryAndy Wingo2022-01-131-15/+5
* Implement scm_logbit_p with new integer libraryAndy Wingo2022-01-131-16/+2
* Implement scm_logtest with new integer libraryAndy Wingo2022-01-131-39/+5
* Implement scm_logxor with new integer libraryAndy Wingo2022-01-131-32/+4
* Implement scm_logior with new integer libraryAndy Wingo2022-01-131-36/+4
* Implement scm_logand with new integer libraryAndy Wingo2022-01-131-33/+5