Skip to content

Commit

Permalink
feat: add is_finite and is_infinite (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisnic authored Aug 12, 2022
1 parent 70736ee commit 01d5428
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions extensions/functions_comparison.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,28 @@ scalar_functions:
- args:
- value: fp64
return: BOOLEAN
-
name: "is_finite"
description: Whether a value is finite (neither infinite nor NaN).
impls:
- args:
- value: fp32
nullability: DECLARED_OUTPUT
return: BOOLEAN
- args:
- value: fp64
nullability: DECLARED_OUTPUT
return: BOOLEAN
-
name: "is_infinite"
description: Whether a value is infinite.
impls:
- args:
- value: fp32
nullability: DECLARED_OUTPUT
return: BOOLEAN
- args:
- value: fp64
nullability: DECLARED_OUTPUT
return: BOOLEAN

0 comments on commit 01d5428

Please sign in to comment.