As designed ☺ [Software]

posted by ElMaestro  – Denmark, 2019-07-20 11:08 (2521 d 16:34 ago) – Posting: # 20411
Views: 32,669

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
23,653 posts in 4,991 threads, 1,570 registered users;
133 visitors (0 registered, 133 guests [including 48 identified bots]).
Forum time: 03:42 CEST (Europe/Vienna)

The idea is to try and give all the information to help others
to judge the value of your contribution;
not just the information that leads to judgment
in one particular direction or another.    Richard Feynman

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