Post Reply 
[42S] MANT Challenge
01-22-2014, 02:24 PM
Post: #6
RE: [42S] MANT Challenge
(01-22-2014 02:17 PM)Werner Wrote:  MANT should return the unsigned mantissa, as in the 48.

Then simply add an ABS at the beginning.

(01-22-2014 02:17 PM)Werner Wrote:  Exponents are 1, 2 or 3 digits, and possibly negative of course.
Probably easier to remove the decimal point and use two ASTO's to X and L to get the 12 digits, then rebuild the integer in alpha and do ANUM.
Would still get quite long, I think.
Werner

Note quite that long. The original routine already worked for all exponents within ±99, and X may be zero, negative or positive. The additional routine I posted in the meantime works for any exponent.

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[42S] MANT Challenge - Werner - 01-22-2014, 09:40 AM
RE: [42S] MANT Challenge - Dieter - 01-22-2014, 08:58 PM
RE: [42S] MANT Challenge - Dieter - 01-22-2014, 09:40 PM
RE: [42S] MANT Challenge - Werner - 01-22-2014, 12:38 PM
RE: [42S] MANT Challenge - Dieter - 01-22-2014, 01:46 PM
RE: [42S] MANT Challenge - Werner - 01-22-2014, 02:17 PM
RE: [42S] MANT Challenge - Dieter - 01-22-2014 02:24 PM
RE: [42S] MANT Challenge - Werner - 01-22-2014, 02:34 PM
RE: [42S] MANT Challenge - Dieter - 01-22-2014, 06:50 PM
RE: [42S] MANT Challenge - Dieter - 01-22-2014, 07:53 PM
RE: [42S] MANT Challenge - Thomas Klemm - 01-23-2014, 12:40 AM
RE: [42S] MANT Challenge - Werner - 01-23-2014, 07:46 AM
RE: [42S] MANT Challenge - Werner - 01-23-2014, 09:34 AM
RE: [42S] MANT Challenge - Werner - 01-23-2014, 11:02 AM
RE: [42S] MANT Challenge - walter b - 01-23-2014, 12:07 PM
RE: [42S] MANT Challenge - Dieter - 01-23-2014, 03:15 PM
RE: [42S] MANT Challenge - Dieter - 01-23-2014, 08:19 PM
RE: [42S] MANT Challenge - Werner - 01-23-2014, 09:06 PM
RE: [42S] MANT Challenge - Dieter - 01-23-2014, 09:53 PM
RE: [42S] MANT Challenge - walter b - 01-24-2014, 08:15 AM
RE: [42S] MANT Challenge - Werner - 01-24-2014, 06:16 AM



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