HP Prime: a student's view
|
08-31-2021, 10:42 AM
(This post was last modified: 08-31-2021 10:51 AM by toml_12953.)
Post: #8
|
|||
|
|||
RE: HP Prime: a student's view
(08-31-2021 05:38 AM)Thomas_Sch Wrote:(08-30-2021 04:50 PM)toml_12953 Wrote: Measurement The evaluation program (see below) performs 20 additions and substractions, 10 multiplications and divisions, 2 square roots, a sine and a logarithm, in total 34 operations. This is assumed to be a "representative" set of operations commonly used in a program. (In fact there are some additional substractions needed for the loop counter but those are not considered.) The run time T of the above procedure is measured. If it is below 5 sec or so an outer loop is added to increase measurement accuracy. The final result of the calculation should be 0.264577 provided degrees are used and log() returns the logarithm base 10. If log() is base e then the result is 0.325915. If log() is base e and radians are being used the result is 0.880982. If log() is base e and the sine is replaced by exp() the result is 1.175412. The performance index is calculated as "representative operations per second": P = 34/T My note: The above calculation of P is for ONE loop. You have to multiply P by the number of loops to get a figure in line with the published table. Tom L Cui bono? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)