42 size_t expSign = s.find_last_of(
"+-");
44 if (expSign != string::npos && expSign > 0 && !
isspace(s[expSign-1]))
49 if (s[expSign] ==
'-')
53 return mantissa *
pow(10, exponent);
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if successful.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
Input from memory buffer stream.