Commit graph

7 commits

Author SHA1 Message Date
Vladiwostok
231ae8b68a
Fix D-Scanner linting issues (#9070)
* Fix UndocumentedDeclarationCheck linting issue

* Fix IfConstraintsIndentCheck linting issue

* Address feedback

* Fix publictests CI

* Fix old (libdparse) D-Scanner linting warn
2024-10-27 01:21:56 -07:00
Nathan Sashihara
7efbb973c2
Fix Issue 24142 - Allow casting Int128 to integral and floating types (#8810) 2023-09-18 07:15:35 +08:00
Iain Buclaw
71ec2cc5ca Merge remote-tracking branch 'upstream/stable' into merge_stable 2023-09-16 10:51:41 +02:00
Nathan Sashihara
932ce6d17c Fix Issue 24140 - Int128.opBinary [+-*/%&|^] with negative long arguments gives wrong answers 2023-09-12 02:03:09 +02:00
Nathan Sashihara
dcdb02cb6c Fix Issue 24083 - Int128.opCmp's behavior with negative numbers is inconsistent with Int128.opEquals 2023-08-18 20:50:35 -04:00
Nathan Sashihara
c7fb52ecab Fix Issue 24082 - add Int128.toString that supports std.format
toString has template parameter FormatSpec instead of template parameter
Char and argument std.format.FormatSpec!Char so importing std.int128
does not require importing std.format unless toString is actually used
(pay as you go).
2023-08-18 20:10:32 -04:00
Walter Bright
60f5bfa45a add std.int128 2022-04-14 11:01:44 -07:00