Sebastian Wilzbach
d1714c9afb
minor style fixes
2016-04-27 04:18:22 +03:00
Sebastian Wilzbach
3d67cd228c
style fix: space between operators
2016-04-26 22:26:20 +03:00
Steven Schveighoffer
630e227c5a
Merge pull request #3992 from quickfur/bigint_octal
...
Issue 14503: Implement formatting BigInt in octal
2016-03-31 16:56:40 -04:00
H. S. Teoh
b12b767b7c
output() should take unsigned parameter.
2016-03-31 11:05:59 -07:00
Dan Olson
b938a74628
Fix NaN payload unittest in errorfunction
...
For some platforms, math on a NaN may change the sign. This is
ok according to C99. Replaced with test that ignores signbit.
2016-03-19 15:29:00 -07:00
H. S. Teoh
6282dda407
Implement conversion of biguint to octal.
...
Carried bits in last word must be output at the end.
Add unittest for 3rd/4th word no-carry boundary.
Implement 'o' format specifier in BigInt.toString().
2016-02-25 13:30:35 -08:00
Martin
a3035d7d77
Slightly relax std.internal.math.gammafunction unittest for 64-bit reals
...
Using LDC master on Win64, I get a relative diff of 1.068e-15 for the
second tuple (input = 1/8), exceeding the allowed upper bound by not even
7%. I chose to be generous and doubled the limit. ;)
More details for the 2nd tuple:
actual: 0x1.0a333fd8b6880p+2
expected: 0x1.0a333fd8b687bp+2
rel diff: 1.067682e-15
The other 4 tuples are perfect matches.
2015-11-08 15:27:34 +01:00
Walter Bright
cf22992cbb
Merge pull request #3768 from CyberShadow/pull-20151024-051829
...
HTML fixes
2015-10-24 15:05:00 -07:00
Vladimir Panteleev
86cf380007
HTML fixes
2015-10-24 06:19:23 +00:00
Walter Bright
db53e3b153
biguintcore: eliminated unnecessary divides
2015-10-19 07:00:42 -07:00
Johan Engelen
0bd234bfe2
Provide MAXGAMMA, MAXLOG, and MINLOG for 64-bit reals.
...
Inside gammaStirling(), fix a call to pow() that would overflow for 64-bit reals.
2015-07-20 22:42:04 +02:00
Walter Bright
feb88b8148
std.internal.math.biguintcore: minor improvements
2015-07-02 18:41:28 -07:00
H. S. Teoh
47dfc369b0
Merge pull request #3240 from e10s/issue14503
...
Fix BigInt.toString with "%x"
2015-06-30 10:56:00 -07:00
Iain Buclaw
c3b05edcc5
Merge pull request #3309 from ibuclaw/fix_pr3020
...
Relax compile-time assertion in gammafunction to runtime
2015-06-30 18:09:04 +02:00
Iain Buclaw
65b103fc08
Relax compile-time assertion in gammafunction to runtime
2015-06-25 11:23:51 +02:00
Rainer Schuetze
adab223837
remove trailing whitespace, detab, tolf
2015-05-31 11:24:01 +02:00
Martin
468a7ed080
std.internal.math.gammafunction: loosen some tests for 64-bit reals.
2015-05-21 23:09:55 +02:00
Clement Courbet
8558b22cfe
Remove a bad cast (issue 3841). Functional noop.
2015-05-13 20:20:03 +02:00
e10s
9e0b10c9ae
append letterCase param to toHexString
2015-04-30 00:23:59 +09:00
k-hara
981bb7be7d
Supplemental fix for issue 5770
2015-04-06 01:01:00 +09:00
Robert Schadek
062d415cd4
Merge pull request #3020 from 9il/lmdi
...
Inverse of the Log Minus Digamma function
2015-03-05 12:55:20 +01:00
Ilya Yaroshenko
9b86eebed5
Inverse of the Log Minus Digamma function
...
fix test
fix unittest
add crosreferences
2015-03-05 13:48:29 +03:00
Denis Shelomovskij
7820bf3310
Add (mostly @nogc
) attributes to bigint
module.
...
Also add comment to `internal.math.biguintcore.fromDecimalString`.
2015-02-27 18:31:05 +03:00
k-hara
e7b3d834d7
detab and remove trailing whitespaces
2015-02-10 00:56:40 +09:00
Andrei Alexandrescu
677edcf220
Merge pull request #2965 from JakobOvrum/bigint_nogc
...
Add @nogc attribute to several BigInt accessor functions
2015-02-07 08:21:44 -08:00
Jakob Ovrum
6a8bcb32e9
Add @nogc attribute to several BigInt accessor functions
2015-02-07 04:03:36 +09:00
Ilya Yaroshenko
f201989054
add refs for logmdigamma, digamma
2015-02-04 23:06:00 +03:00
Ilya Yaroshenko
e7bf1cdfa2
Log Minus Digamma function
...
logmdigamma: fix comprasion
move declarations
2015-02-04 20:51:11 +03:00
Lars T. Kyllingstad
96583fe46b
isNaN() is not a property
...
...so it shouldn't be used as one.
2014-11-20 20:22:00 +01:00
Ilya Yaroshenko
3ddf9133f3
remove unused import in gammafunction.d
2014-11-11 18:47:27 +03:00
Михаил Страшун
21ef7c2ced
Merge pull request #2612 from burner/bigint_safe_one
...
BigInt @safe https://issues.dlang.org/show_bug.cgi?id=13607
2014-11-02 15:59:44 +01:00
Robert burner Schadek
5b38506d47
BigInt @safe
...
some more
some more
some cleanup
some more
hope I got them all
another one
another one
some more
review fix and some additional style changes
some more quickfur
2014-10-31 10:27:20 +01:00
k-hara
ae5c00b114
Annotate asm statements with attributes
2014-10-29 22:00:56 +09:00
k-hara
4f75fa8029
Return bare asm-instructions from helper functions
2014-10-29 21:45:07 +09:00
Joakim
093d636de4
Deprecate std.c.* and move all remaining declarations to core.stdc.*
2014-10-14 09:26:21 -05:00
Peter Alexander
5862d71811
Fix Issue 13391 - Allow division of BigInt by long/ulong
2014-08-31 21:42:28 +01:00
Denis Shelomovskij
30d99b011a
[Fix] Fix property enforcement when using BigInt
.
2014-07-09 20:02:00 +04:00
Dylan Knutson
a9552611af
more operators nothrow
2014-05-28 11:57:22 -07:00
Dylan Knutson
ace6a6076d
Make BigInt nothrow where possible
2014-05-27 23:29:52 -07:00
monarch dodra
0b262ec918
Merge pull request #2182 from WalterBright/annotate-biguint
...
add annotations to biguint
2014-05-22 11:31:35 +02:00
Walter Bright
4ac5e24560
add annotations to biguint
2014-05-18 12:04:46 -07:00
Walter Bright
ac1ff4692a
annotate mathspecial functions
2014-05-18 10:37:49 -07:00
Andrei Alexandrescu
20833c3b94
Merge pull request #1962 from gittywithexcitement/master
...
Add unittests: compare BigUint(0) to 0UL
2014-03-14 01:45:48 -07:00
gittywithexcitement
30999e7dc1
Add unittests: compare BigUint(0) to 0UL
...
to prevent regression of bug 12234.
2014-02-23 16:27:38 -08:00
k-hara
b391b2ec9f
Convert to new alias syntax
2014-02-11 15:27:05 +09:00
Alex Rønne Petersen
5b1aa8bf45
Merge pull request #1861 from jpf91/arm-3
...
[ARM] Fix phobos unit tests
2014-01-25 07:27:41 -08:00
Daniel Murphy
a656f26e9e
Remove use of automatic adjacent string literal concatenation from phobos
2014-01-20 03:42:21 +11:00
Johannes Pfau
8b124e461c
[ARM] Fix phobos unit tests
2014-01-15 16:31:25 +01:00
monarchdodra
44fe3d88f7
Remove tabs
2014-01-08 08:37:52 +01:00
monarchdodra
fd8540072d
Remove trailing white
2014-01-08 08:30:28 +01:00