As designed ☺ [Software]

posted by ElMaestro  – Denmark, 2019-07-20 11:08 (1703 d 17:22 ago) – Posting: # 20411
Views: 13,384

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,940 posts in 4,812 threads, 1,639 registered users;
41 visitors (0 registered, 41 guests [including 12 identified bots]).
Forum time: 03:30 CET (Europe/Vienna)

Those people who think they know everything
are a great annoyance to those of us who do.    Isaac Asimov

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