Commit graph

33 commits

Author SHA1 Message Date
Ilia Ki
f522ea4fcc
ditto 2022-05-29 22:07:47 +04:00
Ilia Ki
a9baa6aa3e
Update biguintx86.d 2022-05-29 21:59:57 +04:00
Walter Bright
43c7c32694 fix Issue 21182 - asm code is missing int ptr and so defaults to byte op 2020-08-22 13:46:07 +02:00
dkorpel
10ed87ddb9 make tostring backwards compatible 2019-12-14 17:12:44 +01:00
dkorpel
6c6eacecd0 try keeping storagenop __gshared 2019-12-14 15:23:51 +01:00
dkorpel
4a413c8f01 make biguintx86 safe 2019-12-14 11:56:17 +01:00
dkorpel
5ad491a451 make std.bigint @safe 2019-12-14 11:54:05 +01:00
Iain Buclaw
fd5facfe04 posix.mak: Enforce whitespace before opening parenthesis for version conditions 2018-09-22 16:57:24 +02:00
Sebastian Wilzbach
a8c0b833bb Fix DScanner warnings 2018-05-30 13:40:07 +02:00
Sebastian Wilzbach
0b33b50812 Automatically add spaces to binary operators (!=)
command:

sed -E "s/([[:alnum:]]) != ([[:alnum:]])/\1 != \2/g" -i **/*.d
sed -E "s/([[:alnum:]])!= ([[:alnum:]])/\1 != \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) !=([[:alnum:]])/\1 != \2/g" -i **/*.d
2017-02-23 00:57:47 +01:00
Sebastian Wilzbach
a2c6398332 Automatically add spaces to binary operators (==)
command:

sed -E "s/([[:alnum:]]) == ([[:alnum:]])/\1 == \2/g" -i **/*.d
sed -E "s/([[:alnum:]])== ([[:alnum:]])/\1 == \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) ==([[:alnum:]])/\1 == \2/g" -i **/*.d
2017-02-23 00:57:47 +01:00
Andrei Alexandrescu
30724e67d9 Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
a36cec8686 DScanner: automatially set all unattributed unittests to @safe or @system 2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
425ab667a3 Automatically set the range style from a..b -> a .. b
Commands:

sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595 Unify Phobos by ensuring there's always a space after cast(...)
Command:

sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Sebastian Wilzbach
1d34a121e9 apply all-man braces in Phobos
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
Jack Stouffer
531ae8e998 Fixed long lines in std/internal/math/biguintx86.d 2016-05-10 20:51:39 -04: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
Walter Bright
4ac5e24560 add annotations to biguint 2014-05-18 12:04:46 -07:00
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11: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
Robert BuRnEr Schadek
a686647f54 bigint purity 2013-05-09 06:24:26 +02:00
Don Clugston
9d7622586a Fix for BigInt assign for 64 bit compilers. Also a few steps towards const correctness, and some comment fixes. 2010-10-25 07:30:38 +00:00
Walter Bright
b8ce58ccd1 detab sources 2010-08-23 02:14:45 +00:00
Don Clugston
98aec1ce64 Reinstated bigint unit tests. Please confirm that these pass on OSX with DMD2.048. 2010-08-11 14:50:06 +00:00
Andrei Alexandrescu
4f27b04a06 Commented out failing asserts when unittesting under OSX. Don, could you please verify? 2010-07-28 07:51:52 +00:00
Sean Kelly
f036f4ddcb Set native eol-style for some files that didn't have it. 2010-07-06 19:16:04 +00:00
Don Clugston
0a8a8a39c5 High-performance BigInt, initial release. Posix makefile has not yet been updated. 2010-03-24 21:13:24 +00:00