Post Reply 
PDQ Algorithm: Infinite precision best fraction within tolerance
12-06-2014, 05:06 PM
Post: #11
RE: PDQ Algorithm: Infinite precision best fraction within tolerance
(12-06-2014 02:38 PM)Joe Horn Wrote:  
(12-06-2014 10:47 AM)patrice Wrote:  Hi Joe,

You should also add the #pragma to ensure your programs compile no matter the user settings for decimal separator.

Does that matter when the program doesn't contain any decimal separators? Both D2F and PDQ use only integers.
YES, when someone use comma as decimal separator, the semicolon is the parameter separator.

Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: PDQ Algorithm: Infinite precision best fraction within tolerance - patrice - 12-06-2014 05:06 PM



User(s) browsing this thread: 1 Guest(s)