math.h

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

math.h

1,864件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mhjerde on Mon Oct 25 02:38:00 MST 2010
Hi
Is there a list of what math functions are actually implemented in redlib nohost and semihost?

I can see that pow(), floor(), and ceil() works, but for example rint(), round(), trunc() does not.

Morten
0 件の賞賛
返信
1 返信

1,608件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Oct 25 03:00:57 MST 2010
Over time, it is the intention that more of the functionality of C99 will be encorporated in to Redlib, but as of today it is a C90 based C library, implementing the functionality documented in "The Standard C Library" by P.J. Plauger (http://www.amazon.com/Standard-C-Library-P-J-Plauger/dp/0131315099).

From a quick scan, this appears to match the Redlib math function list:
http://en.wikipedia.org/wiki/Math.h#Pre-C99_functions

Regards,
CodeRedSupport.
0 件の賞賛
返信