Re: Interesting code



Dik T. Winter skrev:
In article <Si19h.24031$E02.9405@xxxxxxxxxxxxxxx> August Karlstrom <fusionfive@xxxxxxxxx> writes:
...
> Mathematics Pascal/Modula/Oberon C
> x = y x equals y x equals y x becomes y
> 1/2 0.5 0.5 0

The second line is incorrect for Mathematics if you are not working in
the reals.

Well, it's just as valid for the rational numbers (Q is a field).

In the ring of integers, division is not defined for every number (not every integer has a multiplicative inverse).


August

--
"Programming languages like C make people really believe that one half equals zero." -- A. Karlstrom
.



Relevant Pages

  • Re: Understanding the quotient ring nomenclature
    ... fine with all of mathematics being symbols in actuality, ... But upon claiming it to be a member of a ring then we see ... expression evaluates b is quite unknown. ... the reals then it will yield the reals, ...
    (sci.math)
  • Re: Understanding the quotient ring nomenclature
    ... I have often criticized higher mathematics for its ... A is a ring. ... reals, then a and x ... A polynomial ring is a special class of rings. ...
    (sci.math)
  • Re: Understanding the quotient ring nomenclature
    ... I have often criticized higher mathematics for its ... A is a ring. ... reals, then a and x ... A polynomial ring is a special class of rings. ...
    (sci.math)
  • Re: Understanding the quotient ring nomenclature
    ... A is a ring. ... area of mathematics as misunderstood either by me or by the providers ... It feels very disheartening to see this, even after different constructions and different interpretation has been given. ... reals, then a and x ...
    (sci.math)
  • Re: Skolems Paradox and why is math the way it is?
    ... This is not a job the axioms were ever meant to do. ... It's actually a problem with language generally, not just mathematics. ... just procrastinated the problem of interpretation for one step. ... Consider for example the set of reals you considered in another posting, ...
    (sci.math)