Floating point binary
暂无描述。系统推荐的高质量记忆内容,适合每天坚持背诵学习。
卡片预览 (8 张)
what are floating point numbers
location of the decimal point moves around
why are floating points needed
computer memory is limited, you cannot store numbers with infinite precision
what are the two parts to a floating point number
• significant - contains the numbers digits exponent - where the deciomal point is placed relative to the beginning of the number
give 2 limitaions of floating point numbers and explain them
• overflow - the results of a calculation is a number that is too large to store • underflow - floating point calculation can produce a result that is so close to zero that the closest possible representation is zero
what is absolute error
expected value - value you got
what is relative error
absolute error / actual value