Multiple choice:What's wrong with Python's integer and floating point numbers?
What's wrong with Python's integer and floating point numbers?
@[C](2)
A. Floating point operation can output up to 17 digits, but only the first 15 digits are correct.
B. If high precision operation is needed, the decimal point of floating point number can be removed as integer operation.
C. Python language supports integer operations with limited precision.
D. If you need high precision operation, you can use Python standard library decimal.
A. Floating point operation can output up to 17 digits, but only the first 15 digits are correct.
B. If high precision operation is needed, the decimal point of floating point number can be removed as integer operation.
C. Python language supports integer operations with limited precision.
D. If you need high precision operation, you can use Python standard library decimal.
answer:C
@[C](2)
A. Floating point operation can output up to 17 digits, but only the first 15 digits are correct.
B. If high precision operation is needed, the decimal point of floating point number can be removed as integer operation.
C. Python language supports integer operations with limited precision.
D. If you need high precision operation, you can use Python standard library decimal.
A. Floating point operation can output up to 17 digits, but only the first 15 digits are correct.
B. If high precision operation is needed, the decimal point of floating point number can be removed as integer operation.
C. Python language supports integer operations with limited precision.
D. If you need high precision operation, you can use Python standard library decimal.
answer:C