[WP34s] More constants than CONST offers
|
05-26-2014, 09:05 PM
Post: #3
|
|||
|
|||
RE: [WP34s] More constants than CONST offers
(05-26-2014 08:51 PM)walter b Wrote: Oh come on, you want to use your calculator, don't you? Yes. For instance for programming. And this can be done much more conveniently and elegantly with these additional constants. And they do not affect the stack and LastX either. Quote:I voted against including 1/2 and Φ into CONST since they are trivial to calculate Take a look at the quantile code I just posted. Did you count the number of "1/2" commands? This simple constant makes things so much easier. Before it was included I suggested a different version for the Normal quantile where 1/2 was even stored in a separate register so that it could be recalled from there whenever it was required. There also is another point: calculated results are not neccessarily exact. Take pi/2: both in SP and DP the result is 1 ULP off. So once again: why have these constants not been included in CONST while they are available in the assembler (and obviously get assembled to a valid opcode). Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
[WP34s] More constants than CONST offers - Dieter - 05-26-2014, 08:34 PM
RE: [WP34s] More constants than CONST offers - walter b - 05-26-2014, 08:51 PM
RE: [WP34s] More constants than CONST offers - Dieter - 05-26-2014 09:05 PM
RE: [WP34s] More constants than CONST offers - Paul Dale - 05-26-2014, 11:32 PM
RE: [WP34s] More constants than CONST offers - Dieter - 05-29-2014, 03:43 PM
|
User(s) browsing this thread: 3 Guest(s)