nextafter, nexttoward
来自cppreference.com
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| 在头文件 <math.h> 中定义
|
||
| float nextafterf( float from, float to ); |
||
| double nextafter( double from, double to ); |
||
| long double nextafterl( long double from, long double to ); |
||
| float nexttowardf( float from, long double to ); |
||
| double nexttoward( double from, long double to ); |
||
| long double nexttowardl( long double from, long double to ); |
||
返回下一个可表示的值的
fromto的方向。 from等于to,to返回.原文:
Returns the next representable value of
from in the direction of to. If from equals to to, to is returned.目录 |
[编辑] 参数
| from, to | - | 浮点值
|
[编辑] 返回值
下一个可表示的值的
from的方向的to原文:
The next representable value of
from in the direction of to.[编辑] 示例
| 本章尚未完成 原因:暂无示例 |
[编辑] 另请参阅
| C++ documentation for nextafter
|