jrmuizel / pyunum

Python port of the Mathematica unum prototype from "The End of Error"
52 stars 11 forks source link

missing ulphi #7

Open ydurand opened 8 years ago

ydurand commented 8 years ago

Dear Jeff, function nborhi makes use of ulphi which is missing in unum.py. definition of ulphi in mathematica can be found in Gustafson code (or in the book on page 385)... but i am not sure enough to translate it by myself. best regards, Yves

amb007 commented 7 years ago

You may want to take a look at https://github.com/amb007/cl-unum function ulp-hi (ubox.lisp). It uses widen-to-ulp*, which is the result of refactoring...