|
|
Эта страница руководства является частью версии 5.0 Инструментов XCodeПолучить эти инструменты:
Если Вы выполняете версию Инструментов XCode кроме 5,0, просматриваете документацию локально:
Читать страницы руководстваСтраницы руководства предназначаются как справочник для людей, уже понимающих технологию.
|
NEXTAFTER(3) BSD Library Functions Manual NEXTAFTER(3)
NAME
nextafter
SYNOPSIS
#include <math.h>
double
nextafter(double x, double y);
long double
nextafterl(long double x, long double y);
float
nextafterf(float x, float y);
DESCRIPTION
The nextafter() functions return the next machine representable number from x in direction y.
SPECIAL VALUES
nextafter(x, y) raises the "overflow" and "inexact" floating-point exceptions for x finite and the
function value infinite.
nextafter(x, y) raises the "underflow" and "inexact" floating-point exceptions for the function value
subnormal or zero and x not equal to y.
VECTOR OPERATIONS
If you need to apply the nextafter() functions to SIMD vectors or arrays, using the following functions
provided by the Accelerate.framework may give significantly better performance:
#include <Accelerate/Accelerate.h>
vFloat vnextafterf(vFloat x, vFloat y);
void vvnextafterf(float *z, const float *y, const float *x, const int *n);
void vvnextafter(double *z, const double *y, const double *x, const int *n);
SEE ALSO
math(3)
STANDARDS
The nextafter() functions conform to ISO/IEC 9899:2011.
BSD December 11, 2006 BSD
|
Сообщение о проблемах
Способ сообщить о проблеме с этой страницей руководства зависит от типа проблемы:
- Ошибки содержания
- Ошибки отчета в содержании этой документации со ссылками на отзыв ниже.
- Отчеты об ошибках
- Сообщите об ошибках в функциональности описанного инструмента или API через Генератор отчетов Ошибки.
- Форматирование проблем
- Отчет, форматирующий ошибки в интерактивной версии этих страниц со ссылками на отзыв ниже.