diff options
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/float/dfloata.c')
-rw-r--r-- | 2.3-1/src/c/elementaryFunctions/float/dfloata.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/float/dfloata.c b/2.3-1/src/c/elementaryFunctions/float/dfloata.c new file mode 100644 index 00000000..e27b0a11 --- /dev/null +++ b/2.3-1/src/c/elementaryFunctions/float/dfloata.c @@ -0,0 +1,7 @@ +#include "float.h" + +void dfloata(double* x, int size, float* out) { + int i = 0; + for (i=0;i<size;i++) + out[i] = dfloats(x[i]); +} |