10-09-2013, 02:51 PM
Hello
Is needed the famous command -> QPI of HP50/48
exact(1.41421356237)=> 1217471 / 860882 :(
->QPI(1.41421356237) => sqrt(2) :) HP48/50G
Who can porting this code to HPPRIMEBASIC
http://www.hpcalc.org/details.php?id=1403
QPI approximates any floating point numbers by a rational number, square root, multiple of PI, exponential or a logarithm depending on which approximation seems best.
HP-Prime [a<->b/c] == ->QPI
PD: new section in hpcalc.org
Edited: 9 Oct 2013, 2:56 p.m.