Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit eb01acd

Browse files
Define log2 constant (used for expm).
1 parent c56217c commit eb01acd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/stdlib_constants.fypp‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ module stdlib_constants
7171
#:for k, t, s in R_KINDS_TYPES
7272
${t},ドル parameter, public :: zero_${s}$ = 0._${k}$
7373
${t},ドル parameter, public :: one_${s}$ = 1._${k}$
74+
${t},ドル parameter, public :: log2_${s}$ = log(2.0_${k}$)
7475
#:endfor
7576
#:for k, t, s in C_KINDS_TYPES
7677
${t},ドル parameter, public :: zero_${s}$ = (0._${k},0ドル._${k}$)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /