To accurately count all the eigen large matrix ... Do you know a better way?

Paul


W dniu 2014-01-04 10:15, Ivar Nesje pisze:
Why do you want a BigFloat matrix?

I am not saying it is not usefull, but in the examples here, you do the calculation first and then the conversion. Also when dealing with BigFloat it is important that you do not initialize them with with Float64 values that are not exactly what you want them to be, because lots of base 10 fractions are not represetable as a base 2 fraction.

julia> BigFloat(0.1)
1.000000000000000055511151231257827021181583404541015625e-01 with 256 bits of precision

julia> BigFloat("0.1")
1.000000000000000000000000000000000000000000000000000000000000000000000000000002e-01 with 256 bits of precision

The better option is to initialize with a string.

Reply via email to