| 702 | } |
| 703 | |
| 704 | Datum |
| 705 | float8smaller(PG_FUNCTION_ARGS) |
| 706 | { |
| 707 | float8 arg1 = PG_GETARG_FLOAT8(0); |
| 708 | float8 arg2 = PG_GETARG_FLOAT8(1); |
| 709 | float8 result; |
| 710 | |
| 711 | if (float8_lt(arg1, arg2)) |
| 712 | result = arg1; |
| 713 | else |
| 714 | result = arg2; |
| 715 | PG_RETURN_FLOAT8(result); |
| 716 | } |
| 717 | |
| 718 | |
| 719 | /* |
nothing calls this directly
no test coverage detected