Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Issue 20501005: Corrected MAX_EXACT_INT_TO_DOUBLE. (Closed)

Created:
7 years, 4 months ago by srdjan
Modified:
7 years, 4 months ago
Reviewers:
zra, Florian Schneider
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Corrected MAX_EXACT_INT_TO_DOUBLE. R=zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=25725

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M runtime/lib/integers.dart View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 4 (0 generated)
srdjan
7 years, 4 months ago (2013-08-01 19:50:07 UTC) #1
zra
lgtm
7 years, 4 months ago (2013-08-01 19:54:21 UTC) #2
srdjan
Committed patchset #1 manually as r25725 (presubmit successful).
7 years, 4 months ago (2013-08-01 23:15:47 UTC) #3
Florian Schneider
7 years, 4 months ago (2013-08-02 11:20:19 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/20501005/diff/1/runtime/lib/integers.dart
File runtime/lib/integers.dart (right):

https://codereview.chromium.org/20501005/diff/1/runtime/lib/integers.dart#new...
runtime/lib/integers.dart:102: int MAX_EXACT_INT_TO_DOUBLE = 9007199254740991; 
// 2^53 - 1.
I don't understand why this was not correct: 2^53 is precisely represented as
0x4340000000000000. There is no loss of precision yet.

Powered by Google App Engine
This is Rietveld 408576698