You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Write a C program to compare values as doubles and as float (single precision/32bit) to see that this comparison issue is related to the IEEE standard and is not language specific. Make notes and comparison around its behavior and include the program in a code cell in cdouble.md
In floatexpt.md design an experiment using the fractions.Fraction class in Python that helps illustrate why .1*3 == .3 evaluates to False but .1*4 ==.4 evaluates to True. Your file must include both code and interpretation of the results.
The text was updated successfully, but these errors were encountered:
cdouble.md
floatexpt.md
design an experiment using thefractions.Fraction
class in Python that helps illustrate why.1*3 == .3
evaluates toFalse
but.1*4 ==.4
evaluates toTrue
. Your file must include both code and interpretation of the results.The text was updated successfully, but these errors were encountered: