CAEN Utility  2.0.2
Utilities for CAEN projects
CAENRandom.h
Go to the documentation of this file.
1 /******************************************************************************
2 *
3 * CAEN SpA - Software Division
4 * Via Vetraia, 11 - 55049 - Viareggio ITALY
5 * +39 0594 388 398 - www.caen.it
6 *
7 *******************************************************************************
8 *
9 * Copyright (C) 2019-2022 CAEN SpA
10 *
11 * This file is part of the CAEN Utility.
12 *
13 * The CAEN Utility is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 3 of the License, or (at your option) any later version.
17 *
18 * The CAEN Utility is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with the CAEN Utility; if not, see
25 * https://www.gnu.org/licenses/.
26 *
27 * SPDX-License-Identifier: LGPL-3.0-or-later
28 *
29 ***************************************************************************/
37 #ifndef CAEN_INCLUDE_CAENRANDOM_H_
38 #define CAEN_INCLUDE_CAENRANDOM_H_
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
44 #include <CAENUtility.h>
45 #include <stdint.h>
46 
58 
64 
71 
79 
87 
101 
107 
114 
122 
130 
138 
141 #ifdef __cplusplus
142 }
143 #endif
144 
145 #endif // CAEN_INCLUDE_CAENRANDOM_H_
#define CAEN_UTILITY_API
Definition: CAENUtility.h:104
int32_t c_rand64_init(void)
Definition: CAENRandom.c:199
void c_rand32_seed(uint32_t seed)
Definition: CAENRandom.c:225
Main header and generic tools.
void c_rand32_deinit(void)
Definition: CAENRandom.c:189
uint64_t c_rand64_int(void)
Definition: CAENRandom.c:312
uint32_t c_rand32_int(void)
Definition: CAENRandom.c:293
#define CAEN_UTILITY_DLLAPI
Definition: CAENUtility.h:105
int32_t c_rand32_init(void)
Definition: CAENRandom.c:173
#define c_nodiscard
Definition: CAENUtility.h:245
double c_rand(void)
Definition: CAENRandom.c:331
double c_rand64_normal(void)
Definition: CAENRandom.c:341
void c_rand64_deinit(void)
Definition: CAENRandom.c:215
void c_rand64_seed(uint64_t seed)
Definition: CAENRandom.c:240
double c_rand64(void)
Definition: CAENRandom.c:336