As designed ☺ [Software]

posted by ElMaestro  – Denmark, 2019-07-20 09:08 (924 d 05:41 ago) – Posting: # 20411
Views: 10,076

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,858 posts in 4,574 threads, 1,554 registered users;
online 16 (0 registered, 16 guests [including 14 identified bots]).
Forum time: Saturday 13:49 CET (Europe/Vienna)

Truth in science can be defined as the working hypothesis best suited
to open the way to the next better one.    Konrad Lorenz

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