Hi all,

Does anyboy have any idea how to port his code from CodeWarrior
to OSX?

    inline int 
    float2int (register float in) 
    {   long res [2] ;
        
        asm
        {   fctiw       in,in
            stfd        in,res
        }
                
        return res [1] ;
    }

Thanks in advance,
Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+-----------------------------------------------------------+
"If dolphins are so smart, why do they live in igloos?" -Eric Cartman

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to