Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <stdarg.h>
Go to the source code of this file.
Macros | |
#define | NUMERICALFUNCTIONS_SVN_VERSION 110+ |
#define | nf_floatToShortestString_trimZeros ( 1 << 0 ) |
#define | nf_floatToShortestString_keepPeriod ( 1 << 1 ) |
#define | nf_floatToShortestString_includeSign ( 1 << 2 ) |
Typedefs | |
typedef enum nfu_status_e | nfu_status |
Functions | |
double | nfu_getNAN (void) |
int | nfu_isNAN (double d) |
double | nfu_getInfinity (double sign) |
const char * | nfu_statusMessage (nfu_status status) |
void | nfu_setMemoryDebugMode (int mode) |
void * | nfu_malloc (size_t size) |
void * | nfu_calloc (size_t size, size_t n) |
void * | nfu_realloc (size_t size, void *old) |
void * | nfu_free (void *p) |
void | nfu_printMsg (char *fmt,...) |
void | nfu_printErrorMsg (char *fmt,...) |
nfu_status | nfu_stringToListOfDoubles (char const *str, int64_t *numberConverted, double **doublePtr, char **endCharacter) |
char * | nf_floatToShortestString (double value, int significantDigits, int favorEFormBy, int flags) |
#define nf_floatToShortestString_includeSign ( 1 << 2 ) |
Definition at line 18 of file nf_utilities.h.
#define nf_floatToShortestString_keepPeriod ( 1 << 1 ) |
Definition at line 17 of file nf_utilities.h.
#define nf_floatToShortestString_trimZeros ( 1 << 0 ) |
Definition at line 16 of file nf_utilities.h.
#define NUMERICALFUNCTIONS_SVN_VERSION 110+ |
Definition at line 14 of file nf_utilities.h.
typedef enum nfu_status_e nfu_status |
enum nfu_status_e |
Definition at line 25 of file nf_utilities.h.
char * nf_floatToShortestString | ( | double | value, |
int | significantDigits, | ||
int | favorEFormBy, | ||
int | flags | ||
) |
Definition at line 66 of file nf_stringToDoubles.cc.
void * nfu_calloc | ( | size_t | size, |
size_t | n | ||
) |
Definition at line 123 of file nf_utilities.cc.
Referenced by ptwX_new(), ptwXY_new(), and ptwXY_thin().
void * nfu_free | ( | void * | p | ) |
Definition at line 143 of file nf_utilities.cc.
Referenced by nf_Legendre_free(), nf_Legendre_new(), nf_Legendre_release(), ptwX_free(), ptwX_fromString(), ptwX_new(), ptwX_release(), ptwXY_cloneToInterpolation(), ptwXY_copy(), ptwXY_free(), ptwXY_fromString(), ptwXY_mergeFromXYs(), ptwXY_new(), ptwXY_release(), and ptwXY_thin().
double nfu_getInfinity | ( | double | sign | ) |
Definition at line 68 of file nf_utilities.cc.
double nfu_getNAN | ( | void | ) |
Definition at line 54 of file nf_utilities.cc.
Referenced by ptwXY_div_ptwXY(), ptwXY_getXMaxAndFrom(), and ptwXY_getXMinAndFrom().
int nfu_isNAN | ( | double | d | ) |
Definition at line 61 of file nf_utilities.cc.
Referenced by ptwXY_div_ptwXY().
void * nfu_malloc | ( | size_t | size | ) |
Definition at line 113 of file nf_utilities.cc.
Referenced by nf_Legendre_new(), and ptwXY_mergeFromXYs().
void nfu_printErrorMsg | ( | char * | fmt, |
... | |||
) |
Definition at line 166 of file nf_utilities.cc.
void nfu_printMsg | ( | char * | fmt, |
... | |||
) |
Definition at line 154 of file nf_utilities.cc.
void * nfu_realloc | ( | size_t | size, |
void * | old | ||
) |
Definition at line 133 of file nf_utilities.cc.
Referenced by nf_Legendre_reallocateCls(), ptwX_reallocatePoints(), ptwXY_reallocateOverflowPoints(), and ptwXY_reallocatePoints().
void nfu_setMemoryDebugMode | ( | int | mode | ) |
Definition at line 106 of file nf_utilities.cc.
const char * nfu_statusMessage | ( | nfu_status | status | ) |
Definition at line 76 of file nf_utilities.cc.
Referenced by MCGIDI_angular_parseFromTOM(), MCGIDI_fromTOM_pdfOfX(), MCGIDI_product_parseFromTOM(), MCGIDI_target_heated_read(), and MCGIDI_target_heated_recast().
nfu_status nfu_stringToListOfDoubles | ( | char const * | str, |
int64_t * | numberConverted, | ||
double ** | doublePtr, | ||
char ** | endCharacter | ||
) |
Definition at line 29 of file nf_stringToDoubles.cc.
Referenced by ptwX_fromString(), and ptwXY_fromString().