realmax + 1 infinity?
이전 댓글 표시
Hello!
How come is realmax + 1 not inifity when typed into command window?
Thank you.
채택된 답변
추가 답변 (1개)
Steven Lord
2019년 4월 11일
1 개 추천
If you handed Bill Gates or Scrooge McDuck a $1 bill, it doesn't change what he'll report for his net worth. A single dollar is negligible compared to how much money he has already.
Similarly, if you add 1 to realmax it doesn't change the value since 1 is negligible compared to realmax. If you want to know how much you'd need to add to realmax to make it not negligible, take a look at the eps function.
카테고리
도움말 센터 및 File Exchange에서 Numeric Types에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!