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

Issue 11227042: isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue. (Closed)

Created:
8 years, 2 months ago by floitsch
Modified:
8 years, 2 months ago
CC:
reviews_dartlang.org, Florian Schneider, Mads Ager (google)
Visibility:
Public.

Description

isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue. Committed: https://code.google.com/p/dart/source/detail?r=13974

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+717 lines, -399 lines) Patch
M editor/tools/plugins/com.google.dart.tools.core_test/src/com/google/dart/tools/core/internal/model/testsource/CoreRuntimeTypesTest.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M lib/compiler/implementation/constants.dart View 1 3 chunks +7 lines, -7 lines 0 comments Download
M lib/compiler/implementation/js_backend/constant_emitter.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/compiler/implementation/js_backend/constant_system_javascript.dart View 1 chunk +1 line, -1 line 2 comments Download
M lib/compiler/implementation/lib/interceptors.dart View 8 chunks +19 lines, -19 lines 0 comments Download
M lib/compiler/implementation/lib/js_helper.dart View 1 6 chunks +6 lines, -6 lines 0 comments Download
M lib/compiler/implementation/ssa/value_range_analyzer.dart View 28 chunks +64 lines, -64 lines 0 comments Download
M lib/core/int.dart View 1 chunk +2 lines, -2 lines 2 comments Download
M lib/core/num.dart View 1 chunk +3 lines, -3 lines 0 comments Download
M lib/math/base.dart View 2 chunks +3 lines, -3 lines 0 comments Download
M pkg/fixnum/int32.dart View 1 chunk +6 lines, -6 lines 0 comments Download
M pkg/fixnum/int64.dart View 11 chunks +27 lines, -27 lines 0 comments Download
M pkg/fixnum/intx.dart View 1 chunk +6 lines, -6 lines 0 comments Download
M pkg/fixnum/test/int_64_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/intl/lib/number_format.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M pkg/intl/test/date_time_format_test_core.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/lib/double.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/lib/double.dart View 8 chunks +12 lines, -12 lines 0 comments Download
M runtime/lib/integers.dart View 3 chunks +8 lines, -8 lines 0 comments Download
M runtime/tests/vm/dart/byte_array_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/intrinsifier.h View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_arm.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_ia32.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M runtime/vm/intrinsifier_x64.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M samples/ui_lib/touch/Scroller.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/co19/co19-compiler.status View 1 1 chunk +79 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2dart.status View 1 1 chunk +79 lines, -0 lines 0 comments Download
M tests/co19/co19-dart2js.status View 1 1 chunk +80 lines, -0 lines 0 comments Download
M tests/co19/co19-runtime.status View 1 1 chunk +80 lines, -0 lines 0 comments Download
M tests/compiler/dart2js/value_range2_test.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M tests/corelib/core_runtime_types_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/corelib/nan_infinity_test.dart View 2 chunks +7 lines, -7 lines 0 comments Download
M tests/corelib/set_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/arithmetic_test.dart View 9 chunks +57 lines, -57 lines 0 comments Download
M tests/language/div_by_zero_test.dart View 1 chunk +1 line, -1 line 0 comments Download
M tests/language/intrinsified_methods_test.dart View 1 chunk +9 lines, -9 lines 0 comments Download
M tests/language/is_nan_test.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M tests/lib/math/math_parse_double_test.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M tests/lib/math/min_max_test.dart View 32 chunks +120 lines, -120 lines 0 comments Download
M utils/pub/yaml/deep_equals.dart View 1 chunk +1 line, -1 line 0 comments Download
M utils/tests/string_encoding/benchmark_runner.dart View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
floitsch
8 years, 2 months ago (2012-10-23 15:37:03 UTC) #1
Mads Ager (google)
LGTM https://codereview.chromium.org/11227042/diff/2001/lib/compiler/implementation/js_backend/constant_system_javascript.dart File lib/compiler/implementation/js_backend/constant_system_javascript.dart (right): https://codereview.chromium.org/11227042/diff/2001/lib/compiler/implementation/js_backend/constant_system_javascript.dart#newcode200 lib/compiler/implementation/js_backend/constant_system_javascript.dart:200: !constant.isMinusZero()) { This now looks out of place. ...
8 years, 2 months ago (2012-10-23 16:06:51 UTC) #2
Florian Schneider
runtime/vm/ part LGTM.
8 years, 2 months ago (2012-10-23 16:10:05 UTC) #3
floitsch
https://codereview.chromium.org/11227042/diff/2001/lib/compiler/implementation/js_backend/constant_system_javascript.dart File lib/compiler/implementation/js_backend/constant_system_javascript.dart (right): https://codereview.chromium.org/11227042/diff/2001/lib/compiler/implementation/js_backend/constant_system_javascript.dart#newcode200 lib/compiler/implementation/js_backend/constant_system_javascript.dart:200: !constant.isMinusZero()) { On 2012/10/23 16:06:51, Mads Ager wrote: > ...
8 years, 2 months ago (2012-10-23 16:14:19 UTC) #4
ahe
It would really help me a lot if you could submit a co19 bug when ...
8 years, 2 months ago (2012-10-23 17:38:40 UTC) #5
srdjan
https://codereview.chromium.org/11227042/diff/2001/lib/core/int.dart File lib/core/int.dart (right): https://codereview.chromium.org/11227042/diff/2001/lib/core/int.dart#newcode50 lib/core/int.dart:50: /** For integers the round method is the identify ...
8 years, 2 months ago (2012-10-23 21:09:41 UTC) #6
floitsch
8 years, 2 months ago (2012-10-24 07:49:20 UTC) #7
https://codereview.chromium.org/11227042/diff/2001/lib/core/int.dart
File lib/core/int.dart (right):

https://codereview.chromium.org/11227042/diff/2001/lib/core/int.dart#newcode50
lib/core/int.dart:50: /** For integers the round method is the identify
function. */
On 2012/10/23 21:09:42, srdjan wrote:
> What does 'identify' means in this context?

thanks.
https://codereview.chromium.org/11275002/

Powered by Google App Engine
This is Rietveld 408576698