As designed ☺ [Software]

posted by ElMaestro  – Belgium?, 2019-07-20 09:08 (433 d 14:53 ago) – Posting: # 20411
Views: 4,598

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

R's base package has 274 reserved words and operators, along with 1761 functions. I can use 18 of them (about 14 of them properly). I believe this makes me the Donald Trump of programming.

Complete thread:

Activity
 Admin contact
21,076 posts in 4,394 threads, 1,468 registered users;
online 3 (0 registered, 3 guests [including 2 identified bots]).
Forum time: Saturday 00:01 CEST (Europe/Vienna)

For every fact
there is an infinity of hypotheses.    Robert M. Pirsig

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