Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shortest useful program
#22
ORACLE:
I was looking at your functions. The one for rounding is really clever, neat, all on one line, with no if's, and's or but's.

Then you have two functions called FNmin. Shouldn't one of these be FNmax?

What exactly do they do? I'll guess that on a "min" it will return the value of the lesser parameter, no? If that's so, then why go through the trouble of using a function, why not just do an "if a < b..."? Am I missing something?
*****
Reply


Messages In This Thread
Shortest useful program - by xhantt - 08-10-2003, 03:02 AM
Shortest useful program - by toonski84 - 08-10-2003, 03:58 AM
Shortest useful program - by Moneo - 08-10-2003, 06:31 AM
Shortest useful program - by toonski84 - 08-10-2003, 08:54 AM
Shortest useful program - by xhantt - 08-10-2003, 10:09 AM
Shortest useful program - by ak00ma - 08-10-2003, 10:30 AM
Shortest useful program - by toonski84 - 08-10-2003, 10:42 AM
Shortest useful program - by xhantt - 08-10-2003, 09:49 PM
Shortest useful program - by ak00ma - 08-10-2003, 10:12 PM
Shortest useful program - by Phydaux - 08-11-2003, 02:08 AM
Shortest useful program - by Moneo - 08-11-2003, 03:22 AM
Shortest useful program - by toonski84 - 08-11-2003, 05:00 AM
Shortest useful program - by oracle - 08-11-2003, 05:10 AM
Shortest useful program - by Moneo - 08-11-2003, 06:25 AM
Shortest useful program - by toonski84 - 08-11-2003, 07:06 AM
Shortest useful program - by xhantt - 08-11-2003, 10:32 PM
Shortest useful program - by Agamemnus - 08-11-2003, 11:41 PM
Shortest useful program - by Moneo - 08-11-2003, 11:46 PM
Shortest useful program - by Moneo - 08-12-2003, 11:22 PM
Shortest useful program - by biostar - 08-16-2003, 01:07 AM
Shortest useful program - by oracle - 08-16-2003, 03:31 AM
Shortest useful program - by Moneo - 08-16-2003, 04:16 AM
Shortest useful program - by oracle - 08-16-2003, 06:45 AM
Shortest useful program - by Moneo - 08-16-2003, 07:46 AM
Shortest useful program - by whitetiger0990 - 08-16-2003, 09:03 AM
Shortest useful program - by Moneo - 08-16-2003, 09:48 AM
Shortest useful program - by ak00ma - 08-16-2003, 12:46 PM
Shortest useful program - by Moneo - 08-16-2003, 11:08 PM
Shortest useful program - by whitetiger0990 - 08-17-2003, 12:53 AM
Shortest useful program - by Moneo - 08-17-2003, 04:29 AM
Shortest useful program - by ak00ma - 08-17-2003, 10:59 AM
Shortest useful program - by oracle - 08-18-2003, 01:41 AM
Shortest useful program - by Moneo - 08-22-2003, 05:24 AM
Shortest useful program - by pr0gger - 08-23-2003, 03:32 AM
Shortest useful program - by whitetiger0990 - 08-23-2003, 03:43 AM
Shortest useful program - by Moneo - 08-23-2003, 04:07 AM
Shortest useful program - by otaku84 - 10-14-2003, 03:40 PM
Shortest useful program - by oracle - 10-15-2003, 12:49 AM
Shortest useful program - by seph - 10-15-2003, 02:49 AM
Shortest useful program - by SCM - 10-15-2003, 07:18 AM
Shortest useful program - by Moneo - 10-15-2003, 09:09 AM
Shortest useful program - by oracle - 10-15-2003, 10:27 AM
Shortest useful program - by Lanzaa - 10-16-2003, 06:25 AM
Shortest useful program - by seph - 10-16-2003, 07:18 AM
Shortest useful program - by oracle - 10-17-2003, 01:45 AM
Shortest useful program - by Dav - 10-17-2003, 04:11 AM
Shortest useful program - by Dav - 10-22-2003, 05:51 AM
Shortest useful program - by seph - 10-22-2003, 07:22 AM
Shortest useful program - by oracle - 10-22-2003, 10:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)