Daniel Llorens
|
54c4753dd3
Add missing branch in scm_is_less_than()
|
vor 10 Monaten |
Daniel Llorens
|
c0004442b7
Fix bad arguments to range_error() in numbers.c
|
vor 2 Jahren |
Mikael Djurfeldt
|
27b86a6f32
Align argument type of scm_to_wchar with its declaration.
|
vor 3 Jahren |
Mikael Djurfeldt
|
2e10a1257f
Align return type of scm_to_wchar with its declaration.
|
vor 3 Jahren |
Daniel Llorens
|
19bc021e34
Have log and log10(real nan) return real nan regardless of sign
|
vor 3 Jahren |
Daniel Llorens
|
4feff820be
Don't use HAVE_COPYSIGN in libguile/numbers.c
|
vor 3 Jahren |
Daniel Llorens
|
6058d9e05d
Simplify scm_abs for the real case
|
vor 3 Jahren |
Andy Wingo
|
5481222670
Re-rewrite integer-expt in C
|
vor 3 Jahren |
Andy Wingo
|
aa5455ea98
Bignums avoid both custom GMP allocator and finalizers
|
vor 3 Jahren |
Andy Wingo
|
bdddef3cfd
Avoid scm_i_mkbig outside numbers.c.
|
vor 3 Jahren |
Andy Wingo
|
0c502a4d3c
Use scm_integer_to_double_z in numbers.c instead of big2dbl
|
vor 3 Jahren |
Andy Wingo
|
7029a9c491
Simplify magnitude, angle
|
vor 3 Jahren |
Andy Wingo
|
3d56a90736
Remove last non-admin SCM_I_BIG_MPZ uses in numbers.c
|
vor 3 Jahren |
Andy Wingo
|
a4524da8c1
Simplify scm_exact_integer_quotient
|
vor 3 Jahren |
Andy Wingo
|
0754dbf3e8
divide2double refactor
|
vor 3 Jahren |
Andy Wingo
|
c06fc3df54
Remove dead bignum frexp code from numbers.c
|
vor 3 Jahren |
Andy Wingo
|
f167627bb0
Expose frexp from integers lib
|
vor 3 Jahren |
Andy Wingo
|
124d889227
Refactor scm_sqrt in terms of integers.[ch]
|
vor 3 Jahren |
Andy Wingo
|
63a18a6c1a
Reimplement exact-integer-sqrt with integers.[ch]
|
vor 3 Jahren |
Andy Wingo
|
9a91c20a55
scm_to_mpz uses integer lib
|
vor 3 Jahren |
Andy Wingo
|
106c5de5fc
Implement scm_{to,from}_wchar inline
|
vor 3 Jahren |
Andy Wingo
|
1802ed17b3
Reimplement scm_{to,from}_{int64,uint64}
|
vor 3 Jahren |
Andy Wingo
|
717e787da6
Reimplement scm_{to,from}_{int32,uint32}
|
vor 3 Jahren |
Andy Wingo
|
27910181c5
Reimplement scm_from_int8 etc
|
vor 3 Jahren |
Andy Wingo
|
f4db3ca3f9
Reimplement scm_is_{un,}signed_integer for bignums
|
vor 3 Jahren |
Andy Wingo
|
7c53325c31
Fix scm_integer_to_double_z to always round; clean ups
|
vor 3 Jahren |
Andy Wingo
|
8b2d58b993
Clean up scm_divide
|
vor 3 Jahren |
Andy Wingo
|
3e08c9cec0
Remove support for allowing exact numbers to be divided by zero
|
vor 3 Jahren |
Andy Wingo
|
9179525a05
Simplify scm_product, use integer lib
|
vor 3 Jahren |
Andy Wingo
|
c096670d38
Simplify scm_difference, use integer lib
|
vor 3 Jahren |