"PG_RETURN_FLOAT8(x)" is not "return x", except perhaps by accident on some platforms.
Attach a file by drag & drop or click to upload