With downcasting off, EvalNumerical loses small divisors and both ends of the exponent range
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Start at EvalNumerical and inspect Number.IsZero, DecimalPrecisionContext, and LostToExponentRange, comparing their behavior with the interval evaluation mentioned in the issue. Use the three expressions and affected Rubi derivative-check cases as regression coverage; done means small divisors and extreme exponent products produce finite, correct results instead of NaN or zero.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
With downcasting off, EvalNumerical loses decimals at three limits:
using var _ = MathS.Settings.DowncastingEnabled.Set(false);
"1 / 1.37^(-200)".EvalNumerical() // NaN, not 2.21e27
"1.37^(-1500) * 1.37^1500".EvalNumerical() // 0, not 1
"(1.37^8000 + 1) / (1.37^8000 + 2)".EvalNumerical() // NaN, not 1.00...
- A small divisor. A divisor below
PrecisionErrorZeroRange(1e-16) counts as zero (Number.IsZero), so the quotient isNaN. - Both ends of the exponent range.
DecimalPrecisionContextisnew EContext(100, ERounding.HalfUp, -100, 1000, false), which bounds exponents to [-100, 1000]. At 100 digits, a decimal below about 1e-199 becomes zero and one above 1e1000 becomes infinite.LostToExponentRangeworks around this for an exact ratio, but a decimal has no exact value to fall back on.
The integrator's derivative check hit these and rejected correct antiderivatives in Rubi's suites (#1338). Five of those were large rational expressions: a factor near 1e-316 times one near 1e+316 came out 0, and a factor flushed to 0 times one saturated to infinity came out NaN. Another divided 2.40e-45 by 2.23e-91. The check now uses interval evaluation (#1497), which has none of these limits.
- Ngôn ngữ chính
- C#
- Star
- 831
- Fork
- 79
- Merge trung bình
- 2 giờ 22 phút
- Pull request đã merge (30 ngày)
- 507
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ASC-Community/AngouriMath
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
ASC-Community/AngouriMath#1807 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
ASC-Community/AngouriMath#1692 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
ASC-Community/AngouriMath#1690 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
ASC-Community/AngouriMath#1689 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
ASC-Community/AngouriMath#1684 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ASC-Community/AngouriMath
Issue tương tự
-
bug component/other
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
umbraco/Umbraco.AI#511 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
sev:L
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
Systemorph/MeshWeaver#6233 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
CommunityToolkit/Aspire#2231 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
joinrpg/joinrpg-net#5323 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
S: Untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Trauma-Station/Trauma-Station#4930 ·
Maintainer thường phản hồi trong vòng 1 ngày