As designed ☺ [Software]

posted by ElMaestro  – Denmark, 2019-07-20 09:08 (662 d 19:58 ago) – Posting: # 20411
Views: 7,461

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:

Activity
 Admin contact
21,457 posts in 4,485 threads, 1,512 registered users;
online 17 (0 registered, 17 guests [including 3 identified bots]).
Forum time: Thursday 05:06 CEST (Europe/Vienna)

Nothing in the world is more dangerous
than sincere ignorance
and conscientious stupidity.    Martin Luther King, Jr.

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