Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3ee1ea7

Browse filesBrowse files
joyeecheungRafaelGSS
authored andcommitted
deps: V8: cherry-pick d83f479604c8
Original commit message: Fix compilation for older version of libstdc++ On older versions of libstdc++, cmath didn't expose std::powl. Use std::pow instead. Co-Authored-By: René <contact.9a5d6388@renegade334.me.uk> Refs: https://gcc.gnu.org/pipermail/libstdc++/2023-February/055493.html Refs: #61898 Change-Id: I4587e14525cae68a05eda03c36b0af40759d9b64 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7666244 Commit-Queue: Joyee Cheung <joyee@igalia.com> Reviewed-by: Jakob Linke <jgruber@chromium.org> Cr-Commit-Position: refs/heads/main@{#105884} Refs: v8/v8@d83f479 PR-URL: #61898 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> (cherry picked from commit d40be95)
1 parent 80907c0 commit 3ee1ea7
Copy full SHA for 3ee1ea7

2 files changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎common.gypi‎

Copy file name to clipboardExpand all lines: common.gypi
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# Reset this number to 0 on major V8 upgrades.
4040
# Increment by one for each non-official patch applied to deps/v8.
41-
'v8_embedder_string': '-node.9',
41+
'v8_embedder_string': '-node.10',
4242

4343
##### V8 defaults for Node.js #####
4444

Collapse file

‎deps/v8/src/objects/js-duration-format.cc‎

Copy file name to clipboardExpand all lines: deps/v8/src/objects/js-duration-format.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ void OutputFractional(const char* type, int64_t integer, int32_t powerOfTen,
807807
// Pass in the value as int64_t and ask ICU to scale down.
808808
nfOpts = nfOpts.scale(icu::number::Scale::powerOfTen(-powerOfTen));
809809

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));
811811
int64_t bound = std::numeric_limits<int64_t>::max() / factor - 1;
812812
UErrorCode status = U_ZERO_ERROR;
813813
// Use faster ICU API formatInt if the value fit the precision int64_t,

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.