Re: HP calc. Customer Service



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/
.



Relevant Pages

  • Re: Best practices for terminal cursor control
    ... "Display Manager from DRI" ... the programmer designs displays on ... one's software compatible with 50 different terminals. ... Display Manager (DM-80) is one of Digital Research ...
    (comp.os.cpm)
  • Re: Recordsource - display problem
    ... Record Source property is set to the same table, ... and the data types are correct. ... Dim tableName As String ... data tab of the form's properties, will display all appropriate ...
    (microsoft.public.access.formscoding)
  • Re: A nongeneric bounded string array type (in database code)
    ... > and if I get less than 20 I display them and I am done. ... >> Your package doesn't allow the programmer to make that ... > new type is that the code is all independent of field sizes, ... Warren W. Gay VE3WWG ...
    (comp.lang.ada)
  • Re: Controlling COBOL DDs named SYSOUT
    ... Controlling COBOL DDs named SYSOUT ... What have you got against judicious use of DISPLAY ... I guess after the 30th time that some nit-wit of a programmer (granted ... am concerned, if it is a report, then use an FD! ...
    (bit.listserv.ibm-main)
  • Re: Controlling COBOL DDs named SYSOUT
    ... Controlling COBOL DDs named SYSOUT ... DISPLAY statements left behind in code that should ... I guess after the 30th time that some nit-wit of a programmer (granted ...
    (bit.listserv.ibm-main)