Re: [cc65] OT: SIN/LOG/EXP/SQR calculations?

From: Andreas Rückert <>
Date: 2012-03-23 14:57:10

-------- Original-Nachricht --------
> Datum: Thu, 22 Mar 2012 10:15:36 -0700 (PDT)
> Von: Joseph Rose <>
> An: cc65 mailing list <>
> Betreff: [cc65] OT: SIN/LOG/EXP/SQR calculations?

> Sorry about the OT question, but I want to calculate the functions in the
> subject heading for future work with graphics.  I could probably use other
> functions as well.  I have only a high-school education; otherwise, I
> wouldn't be asking here.  :(

Here are some assembler sources:

More interesting (to me) are the c-sources of softfloat:

Details on the 32-bit float format:

There's also a mapping of c64 rom routines to cc65 (from sauhund), 
but the syntax is not very readable, since cc65 has no floating 
operators then. You can see the problem in a demo app here:


NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren:
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Mar 23 14:57:25 2012

This archive was generated by hypermail 2.1.8 : 2012-03-23 14:57:28 CET