53 sprintf(buffer,
"%*.*e",w,d,x);
71 sprintf(buffer,
"%*.*f",w,d,x);
112 #if defined(_MSC_VER)
127 assert(0 <= c && c <= CHAR_MAX);
dvector log10(const dvector &vec)
Returns dvector with the common (base-10) logarithm of vec.
df1_two_variable fabs(const df1_two_variable &x)
adstring itoa(int n, int d)
Author: David Fournier Copyright (c) 2008-2012 Regents of the University of California.
adstring str(double x, int minwidth=17, int decplaces=-1)
Convert x to adstring with minimum width and total number of decimal places.