HP 50g Assume Integer

09032019, 12:21 AM
Post: #2




RE: HP 50g Assume Integer
I haven't found any. I do usually use a "Setup" or "Init" routine to initialize stuff for large programs. For integer stuff I clear flags 3 and 105. In the input stuff I'll use XQ.
I'm finishing off a set of programs to work with continued fractions and quadratic irrationals. I need something like "Assume Integer" too. I do use FLOOR rather than IP to keep things in integers. I've got programs to convert a fraction to a list of partial quotients and one to evaluate such a list into a succession of convergents. Now I have a new one (lots of fiddling around) that converts a quadratic irrational to the repeated its continued fraction and one to convert a list of partial quotients to the quadratic irrational (P+Sqrt(Q))/R. 

« Next Oldest  Next Newest »

Messages In This Thread 
HP 50g Assume Integer  Alexmaster350  09022019, 01:18 PM
RE: HP 50g Assume Integer  ttw  09032019 12:21 AM

User(s) browsing this thread: 1 Guest(s)