Returns the larger of two floating point values
| 19 | |
| 20 | // Returns the larger of two floating point values |
| 21 | double larger(double a, double b) |
| 22 | { |
| 23 | std::cout << "double larger() called." << std::endl; |
| 24 | return a > b ? a : b; |
| 25 | } |
| 26 | |
| 27 | // Returns the larger of two long references |
| 28 | long& larger(long& a, long& b) |