HP 49G: Challenge - Truncate a Long Real
|
07-06-2015, 07:49 PM
Post: #1
|
|||
|
|||
HP 49G: Challenge - Truncate a Long Real
Here is my attempt to truncate a long real imitating the real function TRNC.
For long real input %% 5.12345678901 %% 5 the programme returns %% 5.12345 & for input %% 5.12345678901 %% -5 returns %% 5.1234. I find it hard to believe this is the most economical way to do it. Can you suggest a less long-winded programme? Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
HP 49G: Challenge - Truncate a Long Real - Gerald H - 07-06-2015 07:49 PM
RE: HP 49G: Challenge - Truncate a Long Real - Karl-Ludwig Butte - 07-07-2015, 06:33 AM
RE: HP 49G: Challenge - Truncate a Long Real - Gerald H - 07-07-2015, 06:38 AM
RE: HP 49G: Challenge - Truncate a Long Real - Karl-Ludwig Butte - 07-07-2015, 12:25 PM
RE: HP 49G: Challenge - Truncate a Long Real - Gerald H - 07-07-2015, 12:35 PM
RE: HP 49G: Challenge - Truncate a Long Real - Claudio L. - 07-07-2015, 01:17 PM
RE: HP 49G: Challenge - Truncate a Long Real - Gerald H - 07-07-2015, 01:54 PM
RE: HP 49G: Challenge - Truncate a Long Real - Claudio L. - 07-07-2015, 03:53 PM
RE: HP 49G: Challenge - Truncate a Long Real - Gerald H - 07-07-2015, 04:48 PM
RE: HP 49G: Challenge - Truncate a Long Real - Claudio L. - 07-07-2015, 05:48 PM
RE: HP 49G: Challenge - Truncate a Long Real - Gerald H - 07-17-2015, 07:58 AM
|
User(s) browsing this thread: 1 Guest(s)