Re: HP calc. Customer Service
- From: pausch@xxxxxxx (Paul Schlyter)
- Date: Mon, 04 Sep 2006 07:43:03 GMT
In article <xn0eqs81s3j9s8000@xxxxxxxxxxxx>,
Steen Schmidt <sschmidt@xxxxxxxxx> wrote:
Paul Schlyter wrote:
You can do games and such, but when you need to do some data IO with
the OS (even a plotter app does that), you're bound by the
limitations of the existing OS (data types, argument ranges, file
structure etc).
If you do C/C++ without any OS, you have no such limitations. I mean,
in such a situation there is no OS; so how could a non-existent OS
limit you?
What would you do when you have calculated 10000! ? Would you display
the 35660 digits on the screen for the user to decipher one at a time?
:-) ...an interesting suggestion. If one new digit is displayed each second,
it would take almost 10 hours to display the result, since:
10000! = 2.846259680917054518906413212119868890148051401702799230794179
99427441134000376444377299078675778477581588406214231752883004233994015
3518739052421161383E+35659 ...approximately
What if the result was to be used by a subsequent calculation? Or let's
say you coded a new symbolic integration engine in C - how would you
output the integral of 'Exp(X^2),X'?
By turning on the appropriate pixels in the display, of course!
The result is
'1/2*Sqrt(pi)*Erfi(X)', but Erfi(X) isn't defined in the TI AMS. You
could code Erfi(X) in C, but the result had to reside temporarily in
the TI OS environment,
WHAT "TI OS" ???? I was discussing a C or C++ program without any OS....
until the user decides to do something else with
the result (evaluate it numerically or integrate it again etc.). What
object type would Erfi(X) be in this case, inside the TI AMS?
The OS (and its aux sw like parsers, type checkers, CAS etc.) limits
you in what you can return to it or get as arguments from it. On the HP
we have built-in data types for arbitrary precision numbers, arrays of
any type etc. There are libraries with support for user-defined
functions that behave exactly like built-in functions. This is not the
case on the TI - not even on the NSpire. The latter I find
disappointing, as it would be a good time to step up from the silly
limitations of the TI92/92+/V200/89/89ti series.
But TI will probably not do this, as the open structure of the HP OS
opens up for a hornets nest of bug possibilities. If you look at how
flexible the HP OS is - how much is available for the user - then it's
obvious that there's much greater risk of bugs existing therein in
comparison with the closed TI OS.
All the above is moot of course, in the event you'd want to code your
own OS in C/C++. And even in that case, it would probably have to be
done over a couple of times, as you'd probably not succeed in putting
in all the features another programmer wished for, in which case that
other programmer had to code his or her own special OS etc...
Coding without any OS support is indeed a lot of work - if your program
is non-trivial.
Regards--
Steen
----------------------------------------------------------------
Paul Schlyter, Grev Turegatan 40, SE-114 38 Stockholm, SWEDEN
e-mail: pausch at stockholm dot bostream dot se
WWW: http://stjarnhimlen.se/
.
- Follow-Ups:
- Re: HP calc. Customer Service
- From: Steen Schmidt
- Re: HP calc. Customer Service
- References:
- Re: HP calc. Customer Service
- From: Steen Schmidt
- Re: HP calc. Customer Service
- From: Paul Schlyter
- Re: HP calc. Customer Service
- From: Steen Schmidt
- Re: HP calc. Customer Service
- Prev by Date: Found "HP Connectivity" type program for Mac OS X.
- Next by Date: UPDATE: The quest for the equation library
- Previous by thread: Re: HP calc. Customer Service
- Next by thread: Re: HP calc. Customer Service
- Index(es):
Relevant Pages
|