-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdisplay_env_mod.f08
64 lines (56 loc) · 1.72 KB
/
display_env_mod.f08
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
module display_env_mod
use ISO_FORTRAN_ENV, only : INT64, REAL64
use unum_t_mod
use display_masks_mod, only : Display_env => Display_mask
use unum_env_mod, only : Get_qNaNu,&
Get_sNaNu,&
Get_posinfu,&
Get_neginfu,&
Get_maxrealu,&
Get_negbigu,&
Get_smallsubnormalu
implicit none
contains
subroutine Display_qNaNu ()
implicit none
type (unum_t) :: qNaNu
qNaNu = Get_qNaNu ()
call Display_env (qNaNu)
end subroutine Display_qNaNu
subroutine Display_sNaNu ()
implicit none
type (unum_t) :: sNaNu
sNaNu = Get_sNaNu ()
call Display_env (sNaNu)
end subroutine Display_sNaNu
subroutine Display_posinfu ()
implicit none
type (unum_t) :: posinfu
posinfu = Get_posinfu ()
call Display_env (posinfu)
end subroutine Display_posinfu
subroutine Display_neginfu ()
implicit none
type (unum_t) :: neginfu
neginfu = Get_neginfu ()
call Display_env (neginfu)
end subroutine Display_neginfu
subroutine Display_maxrealu ()
implicit none
type (unum_t) :: maxrealu
maxrealu = Get_maxrealu ()
call Display_env (maxrealu)
end subroutine Display_maxrealu
subroutine Display_negbigu ()
implicit none
type (unum_t) :: negbigu
negbigu = Get_negbigu ()
call Display_env (negbigu)
end subroutine Display_negbigu
subroutine Display_smallsubnormalu ()
implicit none
type (unum_t) :: smallsubnormalu
smallsubnormalu = Get_smallsubnormalu ()
call Display_env (smallsubnormalu)
end subroutine Display_smallsubnormalu
end module display_env_mod