Question: Please do this in Python 1. Floating point representation For the floating point data type, write a program to empirically (i.e., by performing tests within
Please do this in Python
1. Floating point representation For the floating point data type, write a program to empirically (i.e., by performing tests within your program) determine the following Ma- chine constants": E (a) The smallest e such that 1.0 + 1.0 (b) The smallest e such that 1.0+ + 1.0 (c) The maximum representable number (d) The minimum representable positive number Comment on why the numbers you get are expected based on the IEEE 754 representation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
