Problem adding the large number with small number
24 ビュー (過去 30 日間)
Star Strider 2022 年 1 月 8 日
The addition is made. It is necessary to display the appropriate precision to see it —
a_plus_b = a + b
fprintf('%33.25E',a_plus_b - a)
Floating-point numbers aren’t as accurate as necessary in that respect, however thye do their best!