HP Forums

Full Version: [HP-PRIME] QPI project
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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.