dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Optimizing to functions for a plugin

Re: Optimizing to functions for a plugin

From: Jens Arnold <>
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 template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy