Skip to content

Commit

Permalink
refactor(rounding): floor and ceil return floats
Browse files Browse the repository at this point in the history
  • Loading branch information
gforsyth committed Jul 15, 2022
1 parent 69b825b commit 9114060
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extensions/functions_rounding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ scalar_functions:
- options: [ SILENT, SATURATE, ERROR ]
required: false
- value: fp32
return: i64
return: fp32
- args:
- options: [ SILENT, SATURATE, ERROR ]
required: false
- value: fp64
return: i64
return: fp64
-
name: "floor"
description: "Rounding to the floor of the value"
impls:
- args:
- value: fp32
return: i32
return: fp64
- args:
- value: fp64
return: i64
return: fp64

0 comments on commit 9114060

Please sign in to comment.