Re: how to convert this psuedo code to python

2018-09-14 Thread Max Zettlmeißl via Python-list
On Fri, Sep 14, 2018 at 2:37 PM, Noel P. CUA wrote: > compose your own octave script to calculate the machine > epsilon. Analyze the code. > > epsilon = 1 > DO > IF (epsilon+1<=1) EXIT > epsilon = epsilon/2 > END DO > epsilon = 2 x epsilon > epsilon = 1 while epsilon + 1 > 1: epsilon = epsi

how to convert this psuedo code to python

2018-09-14 Thread Noel P. CUA
compose your own octave script to calculate the machine epsilon. Analyze the code. epsilon = 1 DO IF (epsilon+1<=1) EXIT epsilon = epsilon/2 END DO epsilon = 2 x epsilon -- *This email and any files transmitted with it are confidential and intended solely for the use of the individual or enti