functions.h File Reference

Go to the source code of this file.

Functions

float uatoi (char s[])
 
int uuatoi (char s[])
 

Function Documentation

◆ uatoi()

float uatoi ( char  s[])
2 {
3  return( atof(s) );
4 }
RealScalar s
Definition: level1_cplx_impl.h:130

References s.

◆ uuatoi()

int uuatoi ( char  s[])
7 {
8  int i, n;
9 
10  n = 0;
11  for (i = 0; s[i] >= '0' && s[i] <= '9'; ++ i)
12  n = 10 * n + (s[i] - '0');
13  return n;
14 }
int i
Definition: BiCGSTAB_step_by_step.cpp:9
const unsigned n
Definition: CG3DPackingUnitTest.cpp:11

References i, n, and s.