As designed ☺ [Software]

posted by ElMaestro  – Belgium?, 2019-07-20 09:08  – Posting: # 20411
Views: 1,995

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" :-):-):-)

I could be wrong, but...
Best regards,
ElMaestro

Complete thread:

Activity
 Admin contact
20,134 posts in 4,245 threads, 1,385 registered users;
online 3 (0 registered, 3 guests [including 2 identified bots]).
Forum time (Europe/Vienna): 01:29 CET

A Camel is a Horse designed by committee.    Anonymous

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