Re: Arithmetic overflow checking

On 7/25/2011 12:21 AM, Henderson wrote:
On 24/07/2011 12:16 PM, Patricia Shanahan wrote:
On 7/23/2011 7:55 PM, Henderson wrote:
We could go further and rewrite so that it is Number<T
extends Number<T>> and defines:

I don't think it would be wise to tie operator overloading to Number.
Number defines a series of conversions that make some sense for those
types that represent subsets of the real line.

I wasn't thinking beyond the real line to the more abstract stuff
mathematicians futz around with and consider to have addition and

Historically, complex numbers were indeed invented by and for
mathematicians for the abstract satisfaction of having solutions for all
quadratic equations. However, as happens surprisingly often when
mathematicians think they have invented something abstract for their own
amusement, scientists and engineers turned them into useful tools for
practical uses.

For example, a complex number can represent both magnitude and phase of
an alternating current. That simplifies some electrical engineering

I've seen far too many uses of complex numbers in scientific and
engineering programs to be really comfortable with the fact that Java
lacks a practical way to express anything other than the simplest
complex number expressions.


Relevant Pages

  • Re: Do reals really have to be genuine numbers?
    ... possibility to symmetrically cut IR into IR+ and IR-. ... Stick to engineering. ... indulges in, does not persuade mathematicians of anything mathematical, ...
  • Re: Find Minimum
    ... The engineering professor, apparently wanting his ... great curve on his desk, and then proudly proclaimed, "You look at this little ... wheel here with the numbers on it, ... and profound work by mathematicians in analysis. ...
  • Re: Barbarians vs All Blacks 1973
    ... it flatly contradicts your claims. ... in the welfare of the human race. ... Mathematicians and scientist are, if anything, not regarded highly ... mathematicians and scientists. ...
  • Re: At least they cant blame the grey squirrels
    ... What the site has are details of tried, tested and proven methodologies for discovering the numbers of squirrels, producing samples and estimates which can be rigorously tested with statistical tests that have been written by mathematicians whose books and computer programmes are used by scientists, not just biologists, across the world. ...
  • Re: At least they cant blame the grey squirrels
    ... for discovering the numbers of squirrels, ... are used by scientists, not just biologists, across the world. ... intelligence to realise that your description of the methodologies and ... Angus does believe that there are mathematicians and statisticians who are prepared to put their names to inaccurate methodology and risk reputation and ridicule from their peers. ...