MCPcopy Create free account
hub / github.com/apache/cloudberry / float8smaller

Function float8smaller

src/backend/utils/adt/float.c:704–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702}
703
704Datum
705float8smaller(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/*

Callers

nothing calls this directly

Calls 1

float8_ltFunction · 0.85

Tested by

no test coverage detected