November 2017
Beginner
316 pages
6h 40m
English
In the preceding sections, we studied the Int and Float types. There are two specific data types available for arbitrary precision arithmetic. They are:
Arbitrary precision arithmetic refers to computations whose digits of precision are limited only by the available memory on the system they are executed on. Therefore, these can be useful in various scenarios requiring such computations.
julia> BigFloat("2.99123191231231414314134")2.991231912312314143141339999999999999999999999999999999999999999999999999999996# example of BigIntjulia> factorial(BigInt(100))93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000 ...Read now
Unlock full access