> -----Message d'origine-----
> De : owner-linuxppc-embedded at lists.linuxppc.org
> [mailto:owner-linuxppc-embedded at lists.linuxppc.org]De la part de Toni
> Van Remortel
> Envoy? : vendredi 17 octobre 2003 09:16
> ? : Linuxppc-Embedded
> Objet : Doing floating point calculations in kernel space
>
>
>
> Hi all,
>
> When I thought it was a /proc problem, it was a float problem.
> The CPU (405GP) has no FPU, but I need to calculate sin and cos in a
> kernel module.

Hmm... Bit off-topic, but why not use tables tailored to the
precision you need (if you want to compute any sin or cas any time)
or the equivalent of the Bresenham algorithm (if you only want to
draw arcs or ellipes) ?

HTH,

Albert.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/



Reply via email to