[42S] MANT Challenge
01-23-2014, 10:47 AM
Post: #18
 Gerson W. Barbosa Senior Member Posts: 1,473 Joined: Dec 2013
RE: [42S] MANT Challenge
(01-22-2014 12:38 PM)Werner Wrote:  Fails for 2e-02 and all 0<x<0.1 that are not 10^-n
Fails for 9.99999999999*10^n
The reason is that LOG(9.99999999999) = 1 exactly, on a real 42S
Werner
Code:

00 { 28-Byte Prgm }
01>LBL "MANT"
02 X=0?
03 RTN
04 ABS
05 ENTER
06 LOG
07 1
08 -
09 IP
10 10^X
11 ÷
12 10
13 X<>Y
14 X>=Y?
15 RCL÷ ST Y
16 .END.

Gerson.
 « Next Oldest | Next Newest »

 Messages In This Thread [42S] MANT Challenge - Werner - 01-22-2014, 09:40 AM RE: [42S] MANT Challenge - Gerson W. Barbosa - 01-22-2014, 12:23 PM RE: [42S] MANT Challenge - Gerson W. Barbosa - 01-22-2014, 08:41 PM RE: [42S] MANT Challenge - Dieter - 01-22-2014, 08:58 PM RE: [42S] MANT Challenge - Gerson W. Barbosa - 01-22-2014, 09:14 PM RE: [42S] MANT Challenge - Dieter - 01-22-2014, 09:40 PM RE: [42S] MANT Challenge - Gerson W. Barbosa - 01-23-2014, 02:52 AM 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 - Gerson W. Barbosa - 01-23-2014 10:47 AM 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 - Gerson W. Barbosa - 01-23-2014, 11:05 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 - Gerson W. Barbosa - 01-23-2014, 06:07 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 - Gerson W. Barbosa - 01-24-2014, 12:06 AM RE: [42S] MANT Challenge - walter b - 01-24-2014, 08:15 AM RE: [42S] MANT Challenge - Werner - 01-24-2014, 06:16 AM RE: [42S] MANT Challenge - Gerson W. Barbosa - 01-24-2014, 09:15 AM

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