Re: Nokia n900 and Euphoria

new topic     » goto parent     » topic index » view thread      » older message » newer message
SDPringle said...

I'd say it is an alignment issue. Is string_ptr a multiple of 4? If it comes from a file, probably not. You can't just say to the (ARM) procesor there is a floating point number at string_ptr unless string_ptr is a 4-byte aligned address. You can use memcpy to put it into a float declared in the function and then convert it to double.

Ah, yes, I'd forgotten about the alignment issue. That makes sense.

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu