GRASS GIS 8 Programmer's Manual
8.5.0dev(2025)-565e82de51
Main Page
Related Pages
Data Structures
Data Structures
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
y
Enumerations
a
c
d
e
h
i
j
l
m
n
o
p
r
s
t
v
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
unfl.c
Go to the documentation of this file.
1
/* unfl.c CCMATH mathematics library source code.
2
*
3
* Copyright (C) 2000 Daniel A. Atkinson All rights reserved.
4
* This code may be redistributed under the terms of the GNU library
5
* public license (LGPL). ( See the lgpl.license file for details.)
6
* ------------------------------------------------------------------------
7
*/
8
static
unsigned
int
a = 69069U, c = 244045795U;
9
static
unsigned
int
s, h, sbuf[256];
10
double
unfl
(
void
)
11
{
12
int
i;
13
14
i = (int)(s >> 24);
15
s = sbuf[i];
16
h = a * h + c;
17
sbuf[i] = h;
18
return
s * 2.328306436538696e-10;
19
}
20
21
void
setunfl
(
unsigned
int
k)
22
{
23
int
j;
24
25
for
(h = k, j = 0; j <= 256; ++j) {
26
h = a * h + c;
27
if
(j < 256)
28
sbuf[j] = h;
29
else
30
s = h;
31
}
32
}
unfl
double unfl(void)
Definition:
unfl.c:10
setunfl
void setunfl(unsigned int k)
Definition:
unfl.c:21
lib
external
ccmath
unfl.c
Generated on Thu Mar 20 2025 07:33:31 for GRASS GIS 8 Programmer's Manual by
1.9.1