We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e107c9b + 0cd11e9 commit e6db848Copy full SHA for e6db848
Data/Generator/CurrencyDataGenerator.php
@@ -232,11 +232,6 @@ private static function icuPairToDate(array $pair): string
232
// Recompose a 64-bit unsigned integer from two 32-bit chunks.
233
$unsigned64 = ((($highBits32 & 0xFFFFFFFF) << 32) | ($lowBits32 & 0xFFFFFFFF));
234
235
- // Convert to signed 64-bit (two's complement) if sign bit is set.
236
- if ($unsigned64 >= (1 << 63)) {
237
- $unsigned64 -= (1 << 64);
238
- }
239
-
240
// Split into seconds and milliseconds.
241
$seconds = intdiv($unsigned64, 1000);
242
$millisecondsRemainder = $unsigned64 - $seconds * 1000;
0 commit comments