> There was a Julia age during which  BigInt(3)/BigInt(28) was equal to the
> BigRational 3/28, why this feature has been removed ?
>

I don't think that command ever worked like that actually; in order to get
Rational values, you need to use a double-slash "//" in stead of a single
slash:

big(3) // 28

does what you want (it returns a Rational{BigInt}).

julia> r = big(3)//28
3//28

julia> typeof(r)
Rational{BigInt} (constructor with 1 method)

julia> r ^ 100
515377520732011331036461129765621272702107522001//5197603356578053743046457091718238387315570720700158666355787339743938954474733738504301832337506542362159928768916101388187175111771723845861376

Reply via email to