File: stdlib_kinds.md

package info (click to toggle)
fortran-stdlib 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 34,008 kB
  • sloc: f90: 24,178; ansic: 1,244; cpp: 623; python: 119; makefile: 13
file content (70 lines) | stat: -rw-r--r-- 1,436 bytes parent folder | download | duplicates (2)
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
65
66
67
68
69
70
---
title: kinds
---

# The `stdlib_kinds` module

[TOC]

## Introduction

The `stdlib_kinds` module provides kind parameters for the Fortran intrinsic data types,
*integer*, *logical*, *real*, and *complex*.


## Constants provided by `stdlib_kinds`

### `sp`

Single precision real kind parameter.
Provides real kind parameter for floating point numbers with a minimal precision of 6 significant digits.


### `dp`

Double precision real kind parameter.
Provides real kind parameter for floating point numbers with a minimal precision of 15 significant digits.


### `xdp`

Extended double precision real kind parameter.
Provides real kind parameter for floating point numbers with a minimal precision of 18 significant digits.
If not available it has value `-1`.


### `qp`

Quadruple precision real kind parameter.
Provides real kind parameter for floating point numbers with a minimal precision of 33 significant digits.
If not available it has value `-1`.


### `int8`

Reexported intrinsic named constant `int8` from `iso_fortran_env`.


### `int16`

Reexported intrinsic named constant `int16` from `iso_fortran_env`.


### `int32`

Reexported intrinsic named constant `int32` from `iso_fortran_env`.


### `int64`

Reexported intrinsic named constant `int64` from `iso_fortran_env`.


### `lk`

Kind parameter of the default logical data type.


### `c_bool`

Reexported intrinsic named constant `c_bool` from `iso_c_binding`.