Skip to content

Commit 4b510ef

Browse files
Fixes another typo thanks to @vladimir-ch
1 parent 46623c4 commit 4b510ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SRC/la_constants.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ module LA_CONSTANTS
8383
(minexponent(0._sp) - digits(0._sp)) * 0.5_sp))
8484
! sbig = 1/S, where S was defined in https://doi.org/10.1145/355769.355771
8585
real(sp), parameter :: ssbig = real(radix(0._sp), sp)**( - ceiling( &
86-
(maxexponent(0._sp) - digits(0._sp) + 1) * 0.5_sp))
86+
(maxexponent(0._sp) + digits(0._sp) - 1) * 0.5_sp))
8787

8888
! Standard constants for
8989
integer, parameter :: dp = kind(1.d0)
@@ -126,6 +126,6 @@ module LA_CONSTANTS
126126
(minexponent(0._dp) - digits(0._dp)) * 0.5_dp))
127127
! sbig = 1/S, where S was defined in https://doi.org/10.1145/355769.355771
128128
real(dp), parameter :: dsbig = real(radix(0._dp), dp)**( - ceiling( &
129-
(maxexponent(0._dp) - digits(0._dp) + 1) * 0.5_dp))
129+
(maxexponent(0._dp) + digits(0._dp) - 1) * 0.5_dp))
130130

131131
end module LA_CONSTANTS

0 commit comments

Comments
 (0)