Sfoglia il codice sorgente

Update DXIL.rst (#267)

Fixed Htan behavior for +/- INF.
yurido1 8 anni fa
parent
commit
7b98cc8efc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      docs/DXIL.rst

+ 1 - 1
docs/DXIL.rst

@@ -2376,7 +2376,7 @@ Returns the hyperbolic tangent of the specified value.
 +----------+------+------------+---------+----+----+---------+------------+------+-----+
 | src      | -inf | -F         | -denorm | -0 | +0 | +denorm | +F         | +inf | NaN |
 +----------+------+------------+---------+----+----+---------+------------+------+-----+
-| htan(src)|  NaN | -F         |       0 |  0 |  0 |       0 | +F         |  NaN | NaN |
+| htan(src)| -1   | -F         |       0 |  0 |  0 |       0 | +F         | +1   | NaN |
 +----------+------+------------+---------+----+----+---------+------------+------+-----+
 
 IMad