Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: 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
> project.

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().

Regards, Jens
Received on 2008-10-16


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa