(50g) Integer Square Root Rounded to Nearest Integer +- HP Forums (http://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (50g) Integer Square Root Rounded to Nearest Integer (/thread-8992.html) |
(50g) Integer Square Root Rounded to Nearest Integer - Gerald H - 09-06-2017 09:20 AM For integer input N the programme returns the square root rounded to the nearest integer. Size: 195.5 CkSum: # 782Ah Code: :: Trust it compiles & works correctly. ^ZSQ_ is FPTR 6 590 which squares its argument. |