Difficult-Rocket/try/julia/trytry.jl

26 lines
516 B
Julia
Raw Normal View History

2021-12-26 23:06:03 +08:00
#=
trytry:
2022-02-22 23:22:11 +08:00
- Julia version: 1.7.2
2021-12-26 23:06:03 +08:00
- Author: shenjack
- Date: 2022-01-17
=#
println("Hello, world!")
# 输入字符,然后输出输入的字符
2022-02-16 13:36:26 +08:00
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
"""