Rockbox mail archiveSubject: Re: Optimizing to functions for a plugin
Re: Optimizing to functions for a plugin
From: Jens Arnold <arnold-j_at_t-online.de>
Date: Thu, 16 Oct 2008 18:24:03 +0200
On 16.10.2008, Linus Nielsen Feltzing wrote:
> Joseph Garvin wrote:
>> There don't appear to be any builtin functions for converting
>> strings to floats or longs, so I wrote a couple, but they're
>> very very rough.
> We use sscanf() for that in Rockbox, but it doesn't support
> floats, since we don't use floating point calculations in this
There is no sscanf() in the rockbox core, because its more
advanced features aren't needed. sscanf.c does exist in
firmware/common, but is only compiled and linked to doom.
In the core we use atoi().
Received on 2008-10-16
Page was last modified "Sat May 23 08:12:40 2020" The Rockbox Crew