julia
Fix `rationalize(x)` accuracy with tiny floats / when x is a rational
#60828
Open

Fix `rationalize(x)` accuracy with tiny floats / when x is a rational #60828

lvlte wants to merge 11 commits into JuliaLang:master from lvlte:rationalize_fix
lvlte
lvlte Fix `rationalize([T,] x::Rational; ...)`
8c037c4a
lvlte Fix `rationalize(x)` accuracy for tiny `x`
e97d914c
lvlte Fix `rationalize(T, x)` with `x` negative integer and `T` unsigned
66e616aa
github-actions github-actions assigned StefanKarpinski StefanKarpinski 7 days ago
oscardssmith
oscardssmith commented on 2026-01-26
oscardssmith
oscardssmith commented on 2026-01-26
oscardssmith
oscardssmith commented on 2026-01-26
oscardssmith
oscardssmith commented on 2026-01-26
lvlte More descriptive error message
9045610f
lvlte This will be faster since `inv(maxintfloat(x))` is a constant
0f0f4695
nsajko nsajko added rationals
nsajko nsajko added maths
lvlte Fix computation of the precision required
0276a685
lvlte Add tests for subnormal numbers
9a5ed9f2
lvlte Merge branch 'master' into rationalize_fix
5004d38f
lvlte Remove trailing whitespace
106d53b9
adienes adienes added bugfix
lvlte Fix inferrability issue
eb09d88c
lvlte Merge branch 'master' into rationalize_fix
7004762a
lvlte lvlte requested a review from oscardssmith oscardssmith 2 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
Labels
Milestone