using ArbNumerics, Distributed
rmprocs(workers())
addprocs(1)
@everywhere dn = 90
@everywhere using ArbNumerics
@everywhere setworkingprecision(ArbFloat,bits=dn)
@everywhere function check_data(x)
println("Worker $(myid()): Data check: ", typeof(x), " with value: ", x)
end
for i = 1:10
@everywhere setworkingprecision(ArbFloat,bits=dn+$i)
a = ArbFloat(pi)
try
@everywhere check_data($a)
catch e
println("The error happened at bits = $(dn+i)! ",e)
end
end
BigFloat has no such problem.