| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'dart:typed_data' show Uint32List; |
| 6 |
| 5 // Copyright 2009 The Go Authors. All rights reserved. | 7 // Copyright 2009 The Go Authors. All rights reserved. |
| 6 // Use of this source code is governed by a BSD-style | 8 // Use of this source code is governed by a BSD-style |
| 7 // license that can be found in the LICENSE file. | 9 // license that can be found in the LICENSE file. |
| 8 | 10 |
| 9 /* | 11 /* |
| 10 * Copyright (c) 2003-2005 Tom Wu | 12 * Copyright (c) 2003-2005 Tom Wu |
| 11 * Copyright (c) 2012 Adam Singer (adam@solvr.io) | 13 * Copyright (c) 2012 Adam Singer (adam@solvr.io) |
| 12 * All Rights Reserved. | 14 * All Rights Reserved. |
| 13 * | 15 * |
| 14 * Permission is hereby granted, free of charge, to any person obtaining | 16 * Permission is hereby granted, free of charge, to any person obtaining |
| (...skipping 2067 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2082 | 2084 |
| 2083 int _mul(Uint32List x_digits, int x_used, | 2085 int _mul(Uint32List x_digits, int x_used, |
| 2084 Uint32List y_digits, int y_used, | 2086 Uint32List y_digits, int y_used, |
| 2085 Uint32List r_digits) { | 2087 Uint32List r_digits) { |
| 2086 var r_used = _Bigint._mulDigits(x_digits, x_used, | 2088 var r_used = _Bigint._mulDigits(x_digits, x_used, |
| 2087 y_digits, y_used, | 2089 y_digits, y_used, |
| 2088 r_digits); | 2090 r_digits); |
| 2089 return _reduce(r_digits, r_used); | 2091 return _reduce(r_digits, r_used); |
| 2090 } | 2092 } |
| 2091 } | 2093 } |
| OLD | NEW |