HP Forums
[HP-PRIME] QPI project - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: [HP-PRIME] QPI project (/thread-252569.html)



[HP-PRIME] QPI project - CompSystems - 10-09-2013

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.