| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 80907c0 commit 3ee1ea7
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,7 +38,7 @@ | |||
| 38 | 38 | ||
| 39 | 39 | # Reset this number to 0 on major V8 upgrades. | |
| 40 | 40 | # Increment by one for each non-official patch applied to deps/v8. | |
| 41 | - 'v8_embedder_string': '-node.9', | ||
| 41 | + 'v8_embedder_string': '-node.10', | ||
| 42 | 42 | ||
| 43 | 43 | ##### V8 defaults for Node.js ##### | |
| 44 | 44 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -807,7 +807,7 @@ void OutputFractional(const char* type, int64_t integer, int32_t powerOfTen, | |||
| 807 | 807 | // Pass in the value as int64_t and ask ICU to scale down. | |
| 808 | 808 | nfOpts = nfOpts.scale(icu::number::Scale::powerOfTen(-powerOfTen)); | |
| 809 | 809 | ||
| 810 | - int64_t factor = static_cast<int64_t>(std::powl(10, powerOfTen)); | ||
| 810 | + int64_t factor = static_cast<int64_t>(std::pow(10.0L, powerOfTen)); | ||
| 811 | 811 | int64_t bound = std::numeric_limits<int64_t>::max() / factor - 1; | |
| 812 | 812 | UErrorCode status = U_ZERO_ERROR; | |
| 813 | 813 | // Use faster ICU API formatInt if the value fit the precision int64_t, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments