Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle these two edge cases documented in `pow`: - if x is 1.0, the result is always 1.0 - if y is Infinity and x is -1, the result is 1.0 New passing tests: - co19/LibTest/math/pow_A04_t01 - co19/LibTest/math/pow_A14_t01 - co19/LibTest/math/pow_A16_t01 - lib/math/double_pow_test Fixes #50505 Change-Id: I42266e9b52edd853133db8aeaafe9d5aa73a1449 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/268960 Reviewed-by: Aske Simon Christensen <askesc@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com>
- Loading branch information