File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,7 @@ elemental function safe_log_ (x) result (log_x)
153
153
real (dp), intent (in ) :: x
154
154
real (dp) :: log_x
155
155
156
- if (.NOT. IEEE_IS_NORMAL (x)) then
156
+ if (.NOT. IEEE_IS_FINITE (x)) then
157
157
158
158
log_x = 1.E-99_dp
159
159
@@ -172,7 +172,7 @@ elemental function safe_log10_ (x) result (log10_x)
172
172
real (dp), intent (in ) :: x
173
173
real (dp) :: log10_x
174
174
175
- if (.NOT. IEEE_IS_NORMAL (x)) then
175
+ if (.NOT. IEEE_IS_FINITE (x)) then
176
176
177
177
log10_x = 1.E-99_dp
178
178
Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ elemental function safe_log_ (x) result (log_x)
171
171
real (dp), intent (in ) :: x
172
172
real (dp) :: log_x
173
173
174
- if (.NOT. IEEE_IS_NORMAL (x)) then
174
+ if (.NOT. IEEE_IS_FINITE (x)) then
175
175
176
176
log_x = 1.E-99_dp
177
177
@@ -190,7 +190,7 @@ elemental function safe_log10_ (x) result (log10_x)
190
190
real (dp), intent (in ) :: x
191
191
real (dp) :: log10_x
192
192
193
- if (.NOT. IEEE_IS_NORMAL (x)) then
193
+ if (.NOT. IEEE_IS_FINITE (x)) then
194
194
195
195
log10_x = 1.E-99_dp
196
196
You can’t perform that action at this time.
0 commit comments