As designed ☺ [Software]

posted by ElMaestro  – Denmark, 2019-07-20 09:08 (1125 d 12:44 ago) – Posting: # 20411
Views: 11,208

Hi Helmut,

» Haha, I know this game and therefore, always round before the comparison. ;-)

or never bring yourself into a situation where you need to compare floats.

I've taken the worst way out and written functions that check if x is simar to y plus/minus a wee faction like 1e-8 or something. It is ugly and clumsy, it works, and it feel everytime like I am suffering defeat.


"John Brown's got a little Endian" :-):-):-)

Pass or fail!
ElMaestro

Complete thread:

UA Flag
Activity
 Admin contact
22,305 posts in 4,668 threads, 1,587 registered users;
online 3 (0 registered, 3 guests [including 1 identified bots]).
Forum time: Thursday 21:52 CEST (Europe/Vienna)

On two occasions I have been asked,—“Pray, Mr. Babbage,
if you put into the machine wrong figures,…
will the right answers come out?”
 …
I am not able rightly to apprehend the kind of confusion of ideas
that could provoke such a question.    Charles Babbage

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5