Skip to content

Commit

Permalink
feat: add exp function (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisnic authored Sep 2, 2022
1 parent d662abc commit 7ed31f6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions extensions/functions_arithmetic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,24 @@ scalar_functions:
- name: x
value: fp64
return: fp64
-
name: "exp"
description: "The mathematical constant e, raised to the power of the value."
impls:
- args:
- name: rounding
options: [ TIE_TO_EVEN, TIE_AWAY_FROM_ZERO, TRUNCATE, CEILING, FLOOR ]
required: false
- name: x
value: fp32
return: fp32
- args:
- name: rounding
options: [ TIE_TO_EVEN, TIE_AWAY_FROM_ZERO, TRUNCATE, CEILING, FLOOR ]
required: false
- name: x
value: fp64
return: fp64
-
name: "cos"
description: "Get the cosine of a value in radians."
Expand Down

0 comments on commit 7ed31f6

Please sign in to comment.