Embedded Artistry Framework
Embedded Systems C++ Framework
Macros | Functions | Variables
atof.c File Reference
#include "stdlib_tests.h"
#include <math.h>
#include <stdlib.h>
#include <setjmp.h>
#include <stdarg.h>
#include <stddef.h>
#include <cmocka.h>
Include dependency graph for atof.c:

Macros

#define length(x)   (sizeof(x) / sizeof *(x))
 

Functions

static void atof_test (void **state)
 
int atof_tests (void)
 

Variables

struct {
char * s
 
double f
 
t []
 
static const double epsilon = (double)0.000000000000001
 

Macro Definition Documentation

◆ length

#define length (   x)    (sizeof(x) / sizeof *(x))

Function Documentation

◆ atof_test()

static void atof_test ( void **  state)
static

References atof(), epsilon, fabs(), length, s, and t.

Referenced by atof_tests().

◆ atof_tests()

int atof_tests ( void  )

References atof_test(), atof_tests(), and NULL.

Referenced by atof_tests(), and stdlib_tests().

Here is the caller graph for this function:

Variable Documentation

◆ epsilon

const double epsilon = (double)0.000000000000001
static

Referenced by atof_test().

◆ t

struct { ... } t[]

Referenced by __ieee754_acosh(), __ieee754_acoshf(), __ieee754_asin(), __ieee754_asinf(), __ieee754_atanh(), __ieee754_atanhf(), __ieee754_cosh(), __ieee754_coshf(), __ieee754_exp(), __ieee754_expf(), __ieee754_jn(), __ieee754_jnf(), __ieee754_lgamma_r(), __ieee754_lgammaf_r(), __ieee754_pow(), __ieee754_powf(), __ieee754_rem_pio2(), __ieee754_rem_pio2l(), __ieee754_sinh(), __ieee754_sinhf(), __ieee754_sqrt(), __ieee754_sqrtf(), __kernel_tan(), __kernel_tandf(), __kernel_tanl(), _ctans(), _ctansf(), _redupi(), _redupif(), acoshl(), asinh(), asinhf(), asinhl(), asinl(), atanhl(), atof_test(), catan(), catanf(), catanl(), cbrt(), cbrtf(), cbrtl(), coshl(), csqrt(), csqrtf(), csqrtl(), ctanh(), ctanhf(), ctansl(), stimer::current(), defrag_free_list(), embdrv::ssd1306::display(), embvm::CircularLogBufferLogger< TBufferSize, TLock >::dump(), embutil::activeObject< aardvarkI2CMaster, std::pair< embvm::i2c::op_t, const embvm::i2c::master::cb_t > >::enqueue(), exp2(), exp2f(), exp2l(), expm1(), expm1f(), embvm::DriverRegistry< TMaxSize, TReturnSize, TLockType >::find_all(), heapsort(), heapsort_r(), embdrv::ssd1306::i2c_write(), lgammal_r(), logl(), main(), memcpy(), nextafter(), nextafterf(), nextafterl(), nexttoward(), nrv_alloc(), embutil::InstanceElem< TTrackedClass, TKey >::operator==(), powl(), embdrv::vl53l1x::readReg(), reducl(), redupil(), rint(), rintf(), round(), roundf(), roundl(), shuffle2(), sinhl(), small_gam(), smaller_gam(), embdrv::vl53l1x::startMeasurement(), swapfunc(), tanh(), tanhf(), tanhl(), and embdrv::vl53l1x::writeReg().