Julia Programming Language
Demoting BigInt to Int64
General Usage
question
jling
January 7, 2021, 12:54am
4
can’t you do something like:
# a is BigInt a = a<=typemax(Int64) ? Int64(a) : a
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Performant handling of overflowing constants on 32-bit Julia Installations
General Usage
4
708
December 26, 2016
Bug? parse(Integer, ...) calls typemax
General Usage
integer-overflow
15
907
August 29, 2021
Why can I just write BigInt("12345")
General Usage
14
723
September 19, 2019
Parsing big integer as string
New to Julia
6
1000
July 22, 2021
Converting strings of numbers to numbers?
New to Julia
22
36446
May 29, 2018