10#ifndef nf_utilities_h_included
11#define nf_utilities_h_included
13#define _USE_MATH_DEFINES
30#define nf_floatToShortestString_trimZeros ( 1 << 0 )
31#define nf_floatToShortestString_keepPeriod ( 1 << 1 )
32#define nf_floatToShortestString_includeSign ( 1 << 2 )
34#if defined __cplusplus
93 char **endCharacter,
int useSystem_strtod );
94double nf_strtod(
char const *ptr,
char **endCharacter );
97#if defined __cplusplus
double * nfu_stringToListOfDoubles(statusMessageReporting *smr, char const *str, char sep, int64_t *numberConverted, char **endCharacter, int useSystem_strtod)
@ nfu_unsupportedInterpolation
@ nfu_invalidInterpolation
@ nfu_badIntegrationInput
@ nfu_unsupportedInterpolationConversion
void nfu_setMemoryDebugMode(int mode)
void nfu_printMsg(char const *fmt,...)
enum nfu_status_e nfu_status
void * nfu_realloc(size_t size, void *old)
void * nfu_calloc(size_t size, size_t n)
double nfu_getInfinity(double sign)
void nfu_printErrorMsg(char const *fmt,...)
void * nfu_malloc(size_t size)
const char * nfu_statusMessage(nfu_status status)
int32_t * nfu_stringToListOfInt32s(statusMessageReporting *smr, char const *str, char sep, int64_t *numberConverted, char **endCharacter)
double nf_strtod(char const *ptr, char **endCharacter)
char * nf_floatToShortestString(double value, int significantDigits, int favorEFormBy, int flags)
int nfu_stringToInt32(statusMessageReporting *smr, char const *str, char **endCharacter, int32_t *value)