PC-1211, PC-1250, etc. TVM
|
06-09-2024, 12:06 AM
(This post was last modified: 06-09-2024 12:31 AM by robve.)
Post: #35
|
|||
|
|||
RE: PC-1211, PC-1250, etc. TVM
(06-08-2024 11:47 PM)Albert Chan Wrote:(06-08-2024 09:21 PM)robve Wrote: If you want another bewildering TVM problem:rate (%) = -49.9999999999977262632455656115 Yes, excellent! Indeed -50% is not the exact answer beyond 12 digits. It can't be, given the TVM parameters. So is the rate you get (on a calculator) a whole number? Probably yes, but it fools you. EDIT: With my modified TVM program when written in C using double precision: Code: ./tvm 40 900 1000 -1000 1 The C program: Code: #include <stdio.h> This uses a bunch of global variables for TVM parameters to make it easier to adapt to registers in a calculator. - Rob "I count on old friends to remain rational" |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)