nextafter, nexttoward
来自cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <math.h>
|
||
| float nextafterf( float from, float to ); |
(C99 起) | |
| double nextafter( double from, double to ); |
(C99 起) | |
| long double nextafterl( long double from, long double to ); |
(C99 起) | |
| float nexttowardf( float from, long double to ); |
(C99 起) | |
| double nexttoward( double from, long double to ); |
(C99 起) | |
| long double nexttowardl( long double from, long double to ); |
(C99 起) | |
返回下一个可表示的值的
fromto的方向。 from等于to,to返回.Original:
Returns the next representable value of
from in the direction of to. If from equals to to, to is returned.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目录 |
[编辑] 参数
| from, to | - | 浮点值
Original: floating point values The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[编辑] 返回值
下一个可表示的值的
from的方向的toOriginal:
The next representable value of
from in the direction of to.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[编辑] 为例
| 本节是不完整的 原因: no example |
[编辑] 另请参阅
| C++ documentation for nextafter
|