I think you need to link to libm.
After Compline,Zaxo
In reply to Re: Inline c by Zaxo in thread Inline c by jonp