Difficult-Rocket/try/julia/trytry.jl

27 lines
522 B
Julia
Raw Normal View History

2021-12-26 23:06:03 +08:00
#=
trytry:
- Julia version: 1.7.1
- Author: shenjack
- Date: 2022-01-17
=#
println("Hello, world!")
# 输入字符,然后输出输入的字符
2022-02-16 13:36:26 +08:00
@time
function run()
2021-12-26 23:06:03 +08:00
2022-02-16 13:36:26 +08:00
ABigFloat = BigFloat(1111111111111111111111111111111111111111.1111111) * BigFloat(11111123.5111)
ABigInt = BigInt(11111111111111111111111111111111111111111111111) * BigInt(111111235111)
2021-12-26 23:06:03 +08:00
2022-02-16 13:36:26 +08:00
println("$ABigInt \n$ABigFloat")
end
run()
"""
1234569279011111111111111111111111111111111111098765418321
1.2345692790111111417743419014825244111008694272e+46
"""