The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

[HP-PRIME] QPI project
Message #1 Posted by CompSystems on 9 Oct 2013, 2:51 p.m.

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

http://www.hpcalc.org/prime/

Edited: 9 Oct 2013, 2:56 p.m.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall