mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-10 03:56:49 +00:00
20 lines
484 B
ReStructuredText
20 lines
484 B
ReStructuredText
math.h
|
|
====================================
|
|
简介:
|
|
======
|
|
数学库
|
|
|
|
函数列表:
|
|
``double fabs(double x)`` : 返回 x 的绝对值
|
|
|
|
``float fabsf(float x)`` : 返回 x 的绝对值
|
|
|
|
``long double fabsl(long double x)``: 返回 x 的绝对值
|
|
|
|
``double round(double x)`` 四舍五入 x
|
|
|
|
``float roundf(float x)`` 四舍五入 x
|
|
|
|
``long double roundl(long double x)`` 四舍五入 x
|
|
|
|
``int64_t pow(int64_t x,int y)`` 返回 x 的 y 次方 |