Skip to content

Commit 94adc41

Browse files
authored
Replace obsolete floating-point claim with a specific year range (#7333)
Split from #7325
1 parent 6dbf170 commit 94adc41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/calendar/src/cal/hijri.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ pub trait Rules: Clone + Debug + crate::cal::scaffold::UnstableSealed {
134134
/// on the ground. Unless you know otherwise for sure, instead of this variant, use
135135
/// [`UmmAlQura`], which uses the results of KACST's Mecca-based calculations.
136136
///
137-
/// As floating point arithmetic degenerates for far-away dates, this falls back to
138-
/// the tabular calendar at some point.
137+
/// The simulations are pre-computed for Gregorian years 1900 to 2140, falling back to
138+
/// a tabular approximation outside that range.
139139
///
140140
/// The precise behavior of this calendar may change in the future if:
141141
/// - We decide to tweak the precise astronomical simulation used

0 commit comments

Comments
 (0)