Skip to main content
24-Ruby IV
August 21, 2012
Solved

Mathcad paradox: lb:=lb - en error, lb:=kg - all is OK!

  • August 21, 2012
  • 1 reply
  • 1671 views

Mathcad paradox: lb:=lb - en error, lb:=kg - all is OK!

See attached files - Mathcad 15 and Mathcad Prime!

Best answer by RichardJ

Roundoff.

Got to be careful making comparisons of floating point numbers when your worksheet options are set to "Use exact equality for comparisons and truncation"

1 reply

RichardJ19-TanzaniteAnswer
19-Tanzanite
August 21, 2012

Roundoff.

Got to be careful making comparisons of floating point numbers when your worksheet options are set to "Use exact equality for comparisons and truncation"

24-Ruby IV
August 22, 2012

Richard Jackson wrote:

Roundoff.

Got to be careful making comparisons of floating point numbers when your worksheet options are set to "Use exact equality for comparisons and truncation"

Thanks Richard, I knew it.

But the paradox is a paradox.

Life (Mathcad) would be uninteresting without paradoxes.

19-Tanzanite
August 22, 2012

I think I recall something like this coming up on the forums once before. Mathcad can be a little deceptive when using units, because although you may enter the numerical part of a quantity as "1" (e.g. 1 lb), which has an exact binary representation, it is not necessarily stored internally as "1".