Skip to content

Commit 793a35b

Browse files
authored
Change some doctests to julia-repl (#36790)
To avoid failures because of rounding differences across machines. Closes #36692
1 parent c2b487d commit 793a35b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stdlib/LinearAlgebra/src/dense.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,7 +1020,7 @@ this function, see [^AH16_1].
10201020
[^AH16_1]: Mary Aprahamian and Nicholas J. Higham, "Matrix Inverse Trigonometric and Inverse Hyperbolic Functions: Theory and Algorithms", MIMS EPrint: 2016.4. [https://doi.org/10.1137/16M1057577](https://doi.org/10.1137/16M1057577)
10211021
10221022
# Examples
1023-
```jldoctest
1023+
```julia-repl
10241024
julia> acos(cos([0.5 0.1; -0.2 0.3]))
10251025
2×2 Matrix{ComplexF64}:
10261026
0.5-8.32667e-17im 0.1+0.0im
@@ -1051,7 +1051,7 @@ see [^AH16_2].
10511051
[^AH16_2]: Mary Aprahamian and Nicholas J. Higham, "Matrix Inverse Trigonometric and Inverse Hyperbolic Functions: Theory and Algorithms", MIMS EPrint: 2016.4. [https://doi.org/10.1137/16M1057577](https://doi.org/10.1137/16M1057577)
10521052
10531053
# Examples
1054-
```jldoctest
1054+
```julia-repl
10551055
julia> asin(sin([0.5 0.1; -0.2 0.3]))
10561056
2×2 Matrix{ComplexF64}:
10571057
0.5-4.16334e-17im 0.1-5.55112e-17im
@@ -1082,7 +1082,7 @@ compute the inverse tangent. Otherwise, the inverse tangent is determined by usi
10821082
[^AH16_3]: Mary Aprahamian and Nicholas J. Higham, "Matrix Inverse Trigonometric and Inverse Hyperbolic Functions: Theory and Algorithms", MIMS EPrint: 2016.4. [https://doi.org/10.1137/16M1057577](https://doi.org/10.1137/16M1057577)
10831083
10841084
# Examples
1085-
```jldoctest
1085+
```julia-repl
10861086
julia> atan(tan([0.5 0.1; -0.2 0.3]))
10871087
2×2 Matrix{ComplexF64}:
10881088
0.5+1.38778e-17im 0.1-2.77556e-17im

0 commit comments

Comments
 (0)