Question: You are required by a computer manufacturer to write a library function for a given oatingpoint system to nd the cube root y 1 /
You are required by a computer manufacturer to write a library function for a given oatingpoint system to nd the cube root y of any given positive number y Any such relevantoating point number can be represented as y a times e where a is a normalized fraction a and e is an integer exponent. This library function must be very efcient andit should always work. For efciency purposes it makes sense to store some useful constantsahead of computation time, eg the constants and a should these prove useful.a Show how y can be obtained, once a has been calculated for the correspondingfraction, in at most ve additional opsb Derive the corresponding Newton iteration. What is the op count per iteration?c How would you choose an initial approximation? Roughly how many iterations areneeded? The machine rounding unit is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
