We’re now going to resurrect the cmdline program from Chapter
4. In that program, we passed some string parameters into the program on the command line. This time we’re going to pass in some string parameters, but we’ll treat them as doubles and get their values using the glibc function atof() (atof stands for ASCII to float). We’ll read in some values and treat them as doubles (32-bit values). To do that, we need to use one of the floating point registers, xmm0.
1 // sum.c - retrieve floats ...