On 11/10/2016 03:28 PM, Hugo Beauzée-Luyssen wrote: >> + pose[p_end - p_start - varlen] = 0; >> + if (sscanf(pose, "%f", out) != 1) > > Couldn't you achieve the same result without memcpy/sscanf by using strtod? > Well... strtof actually.