OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 5 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
6 // for details. All rights reserved. Use of this source code is governed by a | 6 // for details. All rights reserved. Use of this source code is governed by a |
7 // BSD-style license that can be found in the LICENSE file. | 7 // BSD-style license that can be found in the LICENSE file. |
8 | 8 |
9 // Copyright 2009 The Go Authors. All rights reserved. | 9 // Copyright 2009 The Go Authors. All rights reserved. |
10 // Use of this source code is governed by a BSD-style | 10 // Use of this source code is governed by a BSD-style |
11 // license that can be found in the LICENSE file. | 11 // license that can be found in the LICENSE file. |
(...skipping 2152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2164 | 2164 |
2165 int _mul(_Uint32Digits x_digits, int x_used, | 2165 int _mul(_Uint32Digits x_digits, int x_used, |
2166 _Uint32Digits y_digits, int y_used, | 2166 _Uint32Digits y_digits, int y_used, |
2167 _Uint32Digits r_digits) { | 2167 _Uint32Digits r_digits) { |
2168 var r_used = _Bigint._mulDigits(x_digits, x_used, | 2168 var r_used = _Bigint._mulDigits(x_digits, x_used, |
2169 y_digits, y_used, | 2169 y_digits, y_used, |
2170 r_digits); | 2170 r_digits); |
2171 return _reduce(r_digits, r_used); | 2171 return _reduce(r_digits, r_used); |
2172 } | 2172 } |
2173 } | 2173 } |
OLD | NEW |