Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
fuchsia.googlesource.com-third_party-google-double-conversion
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fuchsia-mirror
fuchsia.googlesource.com-third_party-google-double-conversion
Commits
f5c59a2d
Commit
f5c59a2d
authored
6 years ago
by
Florian Loitsch
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of github.com:google/double-conversion
parents
8751aafe
990c4470
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
double-conversion/double-conversion.cc
+1
-1
1 addition, 1 deletion
double-conversion/double-conversion.cc
double-conversion/utils.h
+2
-1
2 additions, 1 deletion
double-conversion/utils.h
with
3 additions
and
2 deletions
double-conversion/double-conversion.cc
+
1
−
1
View file @
f5c59a2d
...
@@ -529,7 +529,7 @@ static double SignedZero(bool sign) {
...
@@ -529,7 +529,7 @@ static double SignedZero(bool sign) {
// because it constant-propagated the radix and concluded that the last
// because it constant-propagated the radix and concluded that the last
// condition was always true. By moving it into a separate function the
// condition was always true. By moving it into a separate function the
// compiler wouldn't warn anymore.
// compiler wouldn't warn anymore.
#if _MSC_VER
#if
def
_MSC_VER
#pragma optimize("",off)
#pragma optimize("",off)
static
bool
IsDecimalDigitForRadix
(
int
c
,
int
radix
)
{
static
bool
IsDecimalDigitForRadix
(
int
c
,
int
radix
)
{
return
'0'
<=
c
&&
c
<=
'9'
&&
(
c
-
'0'
)
<
radix
;
return
'0'
<=
c
&&
c
<=
'9'
&&
(
c
-
'0'
)
<
radix
;
...
...
This diff is collapsed.
Click to expand it.
double-conversion/utils.h
+
2
−
1
View file @
f5c59a2d
...
@@ -94,7 +94,8 @@ int main(int argc, char** argv) {
...
@@ -94,7 +94,8 @@ int main(int argc, char** argv) {
defined(_MIPS_ARCH_MIPS32R2) || \
defined(_MIPS_ARCH_MIPS32R2) || \
defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \
defined(__riscv) || \
defined(__riscv) || \
defined(__or1k__) || defined(__arc__)
defined(__or1k__) || defined(__arc__) || \
defined(__EMSCRIPTEN__)
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
#elif defined(__mc68000__) || \
#elif defined(__mc68000__) || \
defined(__pnacl__) || defined(__native_client__)
defined(__pnacl__) || defined(__native_client__)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment