lrn@google.com
|
5343ef8d32
|
Add documentation to dart:math pow function.
Also add test, and modify implementation to match on the single case where it didn't.
BUG= http://dartdog.com/1952
R=floitsch@google.com
Review URL: https://codereview.chromium.org//22943005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26347 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-08-20 12:23:00 +00:00 |
|
srdjan@google.com
|
c891612920
|
Adapt Random class to be able to run in javascript integer compatibility mode.
R=asiva@google.com, zra@google.com
Review URL: https://codereview.chromium.org//21966003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25753 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-08-02 23:07:55 +00:00 |
|
srdjan@google.com
|
71cada8f75
|
Partitioned min_max_test for checked mode as well.
Review URL: https://codereview.chromium.org//20011002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25319 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-07-22 23:19:18 +00:00 |
|
srdjan@google.com
|
aba435de6a
|
FIx a typo in SIMMIPS min/max and enable min_max_test for SIMMIPS by splitting the main functions into two parts.
R=regis@google.com
Review URL: https://codereview.chromium.org//19653008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25314 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-07-22 22:43:51 +00:00 |
|
srdjan@google.com
|
17bc0e19c4
|
Fix math min/max for -0.0 case. Enable min_max_test to run in optimizing compiler as well.
R=regis@google.com, zra@google.com
Review URL: https://codereview.chromium.org//19482023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25306 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-07-22 21:37:43 +00:00 |
|
hausner@google.com
|
457bb1bdcb
|
Remove support for + prefix in number literals
Also fix some tests that expected + prefix in hex numbers to be illegal. According to our documentation, int.parse() accepts + for numbers in all formats/radixes.
R=srdjan@google.com
Review URL: https://codereview.chromium.org//17103002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24051 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-06-14 21:16:46 +00:00 |
|
iposva@google.com
|
4271b30c89
|
- Extend the coin test for slightly different scenarios.
- Crank the generator a couple of times before returning
a newly allocated one.
Review URL: https://codereview.chromium.org//15356003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23309 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-28 22:15:07 +00:00 |
|
floitsch@google.com
|
09d7da9250
|
Rewrite double.parse.
BUG= http://dartbug.com/5654
R=lrn@google.com, srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=23062
Reverted: https://code.google.com/p/dart/source/detail?r=23065
Committed: https://code.google.com/p/dart/source/detail?r=23066
Reverted: https://code.google.com/p/dart/source/detail?r=23068
Review URL: https://codereview.chromium.org//15333006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23071 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-23 14:30:16 +00:00 |
|
floitsch@google.com
|
9849fb8900
|
Revert "Rewrite double.parse."
This reverts commit r23066.
Review URL: https://codereview.chromium.org//15814003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23068 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-23 13:28:37 +00:00 |
|
floitsch@google.com
|
75cafec89d
|
Rewrite double.parse.
BUG= http://dartbug.com/5654
R=lrn@google.com, srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=23062
Reverted: https://code.google.com/p/dart/source/detail?r=23065
Review URL: https://codereview.chromium.org//15333006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23066 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-23 13:09:05 +00:00 |
|
floitsch@google.com
|
724fb6b4aa
|
Revert "Rewrite double.parse."
This reverts commit r23062.
Review URL: https://codereview.chromium.org//15868003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23065 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-23 13:00:05 +00:00 |
|
floitsch@google.com
|
d39ef26225
|
Rewrite double.parse.
BUG= http://dartbug.com/5654
R=lrn@google.com, srdjan@google.com
Review URL: https://codereview.chromium.org//15333006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23062 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-05-23 12:00:45 +00:00 |
|
floitsch@google.com
|
8fd6d0aafd
|
Remove Expect from core library.
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756
Review URL: https://codereview.chromium.org//12212016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-04-05 19:43:16 +00:00 |
|
floitsch@google.com
|
5dc8107c53
|
Revert "Remove Expect from core library."
This reverts commit 19755.
Review URL: https://codereview.chromium.org//12743005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19756 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-09 03:19:07 +00:00 |
|
floitsch@google.com
|
12dbd2fd70
|
Remove Expect from core library.
Review URL: https://codereview.chromium.org//12212016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19755 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-09 02:40:37 +00:00 |
|
iposva@google.com
|
b25d694633
|
- Avoid wrapping into Mints when generating random numbers.
- Update Random number tests.
- Fix String.fromCharCodes signature.
Review URL: https://codereview.chromium.org//12622002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19642 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-03-07 17:19:47 +00:00 |
|
floitsch@google.com
|
4a7dfd2da3
|
Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
|
2013-01-07 11:23:16 +00:00 |
|
gram@google.com
|
cdb7da543b
|
Library syntax updates. Covers all remaining files in ~/tests aprt from ~/tests/language and ~/tests/standalone.
Review URL: https://codereview.chromium.org//11358203
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14815 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-11-12 22:45:18 +00:00 |
|
floitsch@google.com
|
27cadf2b66
|
isEven, isOdd, isNegative, isMaxValue, isMinValue, isInfinite, isPositive, isSingleValue.
Review URL: https://codereview.chromium.org//11227042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13974 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-23 16:15:36 +00:00 |
|
ahe@google.com
|
6254729761
|
Revert "Parts must start with 'part of'" and "Attempt to fix VM build"
This reverts r13961 and r13963.
Review URL: https://codereview.chromium.org//11233061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13967 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-23 14:24:04 +00:00 |
|
scheglov@google.com
|
50b5b6e1a8
|
Parts must start with 'part of'
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13961 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-23 13:20:50 +00:00 |
|
regis@google.com
|
adb534674c
|
Change core lib, dart2js, and more for new optional parameters syntax and semantics (new semantics is not enforced yet).
Review URL: https://codereview.chromium.org//11090016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13684 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-10-16 16:03:47 +00:00 |
|
iposva@google.com
|
e045db6454
|
- Fix comment describing new test.
Review URL: https://codereview.chromium.org//10948008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12495 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-09-18 12:52:43 +00:00 |
|
iposva@google.com
|
820d2b33d5
|
- Fix the implementation of Random.nextBool() and add test.
Review URL: https://codereview.chromium.org//10919323
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12458 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-09-17 21:33:39 +00:00 |
|
kasperl@google.com
|
8bd4bf096b
|
Update almost all tests (except co19) to use the new try-catch syntax.
R=ngeoffray@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10891020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11492 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-29 08:11:41 +00:00 |
|
ager@google.com
|
722c1a3ce6
|
Deprecate Math object in corelib in favor of dart:math library.
Review URL: https://chromiumcodereview.appspot.com//10829459
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11155 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 14:33:01 +00:00 |
|
rnystrom@google.com
|
0bc9b19740
|
Rename BadNumberFormatException -> FormatException.
Review URL: https://chromiumcodereview.appspot.com//10850034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10354 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-07 20:56:59 +00:00 |
|
iposva@google.com
|
b7ea8b66ed
|
- Use #library when using imports in tests.
Review URL: https://chromiumcodereview.appspot.com//10802023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9749 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-07-18 22:03:52 +00:00 |
|
iposva@google.com
|
4494da7b1a
|
- Add basic math tests from math_test.dart, but using dart:math.
Review URL: https://chromiumcodereview.appspot.com//10797015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9745 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-07-18 20:53:11 +00:00 |
|
iposva@google.com
|
68f4d6aab9
|
- Make bounds for pi_test symmetric.
- Reenable pi_test for VM based runs.
Review URL: https://chromiumcodereview.appspot.com//10383293
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7882 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-05-22 22:40:47 +00:00 |
|
iposva@google.com
|
3b3b6e5000
|
- Add a math library. Currently it mostly matches the Math class in dart:core.
- Add a useable Random number generator.
Review URL: https://chromiumcodereview.appspot.com//10389150
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7860 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-05-22 16:54:31 +00:00 |
|