Skip to content

Commit

Permalink
Merge pull request #443 from gmlueck/gmlueck/fix-216
Browse files Browse the repository at this point in the history
Fix range for half-precision cos/sin/tan
  • Loading branch information
gmlueck authored Sep 14, 2023
2 parents 2c835e1 + 837dbd6 commit a9ef77c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -23671,7 +23671,7 @@ template<typename NonScalar> (2)

*Overload (1):*

_Preconditions:_ The value of [code]#x# must be in the range -216 to +216.
_Preconditions:_ The value of [code]#x# must be in the range [-2^16^, +2^16^].

_Returns:_ The cosine of [code]#x#.

Expand All @@ -23684,7 +23684,7 @@ _Constraints:_ Available only if all of the following conditions are met:
* The element type is [code]#float#.

_Preconditions:_ The value of each element of [code]#x# must be in the range
-216 to +216.
[-2^16^, +2^16^].

_Returns:_ For each element of [code]#x#, the cosine of [code]#x[i]#.

Expand Down Expand Up @@ -24030,7 +24030,7 @@ template<typename NonScalar> (2)

*Overload (1):*

_Preconditions:_ The value of [code]#x# must be in the range -216 to +216.
_Preconditions:_ The value of [code]#x# must be in the range [-2^16^, +2^16^].

_Returns:_ The sine of [code]#x#.

Expand All @@ -24043,7 +24043,7 @@ _Constraints:_ Available only if all of the following conditions are met:
* The element type is [code]#float#.

_Preconditions:_ The value of each element of [code]#x# must be in the range
-216 to +216.
[-2^16^, +2^16^].

_Returns:_ For each element of [code]#x#, the sine of [code]#x[i]#.

Expand Down Expand Up @@ -24097,7 +24097,7 @@ template<typename NonScalar> (2)

*Overload (1):*

_Preconditions:_ The value of [code]#x# must be in the range -216 to +216.
_Preconditions:_ The value of [code]#x# must be in the range [-2^16^, +2^16^].

_Returns:_ The tangent of [code]#x#.

Expand All @@ -24110,7 +24110,7 @@ _Constraints:_ Available only if all of the following conditions are met:
* The element type is [code]#float#.

_Preconditions:_ The value of each element of [code]#x# must be in the range
-216 to +216.
[-2^16^, +2^16^].

_Returns:_ For each element of [code]#x#, the tangent of [code]#x[i]#.

Expand Down

0 comments on commit a9ef77c

Please sign in to comment.