IonicWind Software

Aurora Compiler => General Discussion => Topic started by: Parker on December 30, 2005, 02:47:53 PM

Title: The CDECL calling convention
Post by: Parker on December 30, 2005, 02:47:53 PM
I've heard that floating point number returns are stored in 'st(0)' when it is a subroutine created in C, and I recently saw a discussion about this. Since I don't know about double precision numbers, and don't know how Aurora handles these calls, can I use atof() in Aurora?
Title: Re: The CDECL calling convention
Post by: Ionic Wind Support Team on December 30, 2005, 07:15:03 PM
Yes.

atof() actually returns a DOUBLE type.  When declare as CDECL Aurora knows that the double return is in st0

Paul.