Skip to content

Commit dc72107

Browse files
committed
remove xdp restriction
1 parent 35efbe8 commit dc72107

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

doc/specs/stdlib_linalg.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ end interface axpy
104104
Note that the 128-bit functions are only provided by `stdlib` and always point to the internal implementation.
105105
Because 128-bit precision is identified as [stdlib_kinds(module):qp], initials for 128-bit procedures were
106106
labelled as `q` (quadruple-precision reals) and `w` ("wide" or quadruple-precision complex numbers).
107-
Extended precision ([stdlib_kinds(module):xdp]) calculations are currently not supported.
107+
Extended precision ([stdlib_kinds(module):xdp]) calculations are labelled as `x` (extended-precision reals).
108+
and `y` (extended-precision complex numbers).
108109

109110
### Example
110111

src/stdlib_linalg_inverse.fypp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ submodule (stdlib_linalg) stdlib_linalg_inverse
3333
end subroutine handle_getri_info
3434

3535
#:for rk,rt,ri in RC_KINDS_TYPES
36-
#:if rk!="xdp"
3736
! Compute the in-place square matrix inverse of a
3837
module subroutine stdlib_linalg_invert_inplace_${ri}$(a,pivot,err)
3938
!> Input matrix a[n,n]. On return, A is destroyed and replaced by the inverse
@@ -175,7 +174,6 @@ submodule (stdlib_linalg) stdlib_linalg_inverse
175174

176175
end function stdlib_linalg_inverse_${ri}$_operator
177176

178-
#:endif
179177
#:endfor
180178

181179
end submodule stdlib_linalg_inverse

test/linalg/test_linalg_inverse.fypp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,14 @@ module test_linalg_inverse
2222
allocate(tests(0))
2323

2424
#:for rk,rt,ri in RC_KINDS_TYPES
25-
#:if rk!="xdp"
2625
tests = [tests,new_unittest("${ri}$_eye_inverse",test_${ri}$_eye_inverse), &
2726
new_unittest("${ri}$_singular_inverse",test_${ri}$_singular_inverse), &
2827
new_unittest("${ri}$_random_spd_inverse",test_${ri}$_random_spd_inverse)]
29-
#:endif
3028
#:endfor
3129

3230
end subroutine test_inverse_matrix
3331

3432
#:for rk,rt,ri in REAL_KINDS_TYPES
35-
#:if rk!="xdp"
3633
!> Invert real identity matrix
3734
subroutine test_${ri}$_eye_inverse(error)
3835
type(error_type), allocatable, intent(out) :: error
@@ -139,12 +136,10 @@ module test_linalg_inverse
139136

140137
end subroutine test_${ri}$_random_spd_inverse
141138

142-
#:endif
143139
#:endfor
144140

145141
!> Invert complex identity matrix
146142
#:for ck,ct,ci in CMPLX_KINDS_TYPES
147-
#:if ck!="xdp"
148143
subroutine test_${ci}$_eye_inverse(error)
149144
type(error_type), allocatable, intent(out) :: error
150145

@@ -295,7 +290,6 @@ module test_linalg_inverse
295290

296291
end subroutine test_${ci}$_singular_inverse
297292

298-
#:endif
299293
#:endfor
300294

301295
end module test_linalg_inverse

0 commit comments

Comments
 (0)