Julia Programming Language
Disable promotion from Float64 to BigFloat
General Usage
araujoms
June 1, 2025, 8:31pm
8
You can just redefine the constructor:
function BigFloat(x::Float64) throw(error("Imprecise.")) end
show post in topic
Related topics
Topic
Replies
Views
Activity
Promotion to BigFloat -- no zero padding
General Usage
bigfloat
8
770
August 9, 2021
A question regarding BigFloat
General Usage
question
11
1917
November 5, 2018
BigFloat number conversion problem
New to Julia
15
1303
January 21, 2019
BigFloat promotion rules and constants in functions
New to Julia
24
1821
March 29, 2019
Unexpected result about integer
General Usage
13
1412
August 17, 2018