Files
sdk/tests/corelib
Lasse R.H. Nielsen d274ef0a4a Fix bug in Duration.toString.
On the web, some inputs to `Duration` would make -0.0
occur in positions where the code assumed an integer
with a reasonable `toString`.

Adds `+ 0` and using `0 - x` instead of `-x` to
avoid ever ending up with a `-0.0`.

Fixes #51584

CoreLibraryReviewExempt: Bugfix, no API changes.
Change-Id: Idecfaf049f2ae5677792387ce24e95add99596cb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/291280
Commit-Queue: Nate Bosch <nbosch@google.com>
Auto-Submit: Lasse Nielsen <lrn@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2023-03-30 14:02:38 +00:00
..
2023-01-20 12:37:49 +00:00
2023-03-09 15:14:32 +00:00
2023-03-09 15:14:32 +00:00
2022-12-19 12:56:47 +00:00
2022-12-19 12:56:47 +00:00
2022-12-19 12:56:47 +00:00
2022-12-19 12:56:47 +00:00
2022-12-19 12:56:47 +00:00
2022-05-24 09:10:51 +00:00
2022-05-24 09:10:51 +00:00
2022-05-24 09:10:51 +00:00
2022-12-19 12:56:47 +00:00
2023-01-19 16:24:29 +00:00