FCOSHA
Operation
Approximates hyperbolic cosine for finite values and signed infinity.
Assembler Syntax
FCOSHA.{S|D}(z) Fn(s), Fn(d)
Privilege
Unprivileged
Required CPUID flags
FP
FPTRANSA
Repeat eligibility
REP eligible
Computes the cosh(x) reference over all finite values and signed infinity after DAZ and writes an implementation-bounded S- or D-format approximation under the selected FPTRANSA accuracy contract.
The required FPTRANSA_ACCURACY contract is 0x0022.
Special values
-
Infinite source: the result is +infinity.
-
Zero source: the result is positive one.
Exact anchors
-
cosh(+0) = +1
-
cosh(-0) = +1
-
cosh(infinity) = +infinity
Required properties
-
even
-
nonincreasing below zero and nondecreasing above zero
-
result is at least 1
2.75in
Encodings
FCOSHA.{S|D}(z) Fn(s), Fn(d)
Format: Instruction format for FCOSHA.{S|D}(z) Fn(s), Fn(d)