nextafterd2

NAME

nextafterd2 - return next representable values after double elements

SYNOPSIS

Procedure call syntax:

#include <simdmath.h>
vector double nextafterd2(vector double x, vector double y);
Link with -lsimdmath

Inline call syntax:

#include <simdmath.h>
#include <nextafterd2.h>
vector double _nextafterd2(vector double x, vector double y);
Parameters  
x, y input vectors

DESCRIPTION

The nextafterd2 function returns a vector of the next representable value after each element of x in the direction of the corresponding element of y.

RETURN VALUE

The function nextafterd2 returns a double vector in which each element is defined as the next representable value after the corresponding element of x in the direction of the corresponding element of y. If the element of x is equal to the corresponding element of y, the result is y.

ENVIRONMENT

SPU only

CONFORMING TO

SIMD Math library specification for the Cell Broadband Engineā„¢ Architecture.

NOTES

Basis

ISO9899 (C99) nextafter functions.

SEE ALSO

nextafter(3) , nextafterf4(3), ceil(3), ceilf4(3), ceild2(3), floor(3), floorf4(3), floord2(3), nearbyint(3), nearbyintf4(3), nearbyintd2(3), irint(3) , irintf4(3), llrint(3) , llrintf4(3), llrintd2(3), rint(3), rintf4(3), rintd2(3), round(3), roundf4(3), roundd2(3), iround(3), iroundf4(3), llround(3) , llroundf4(3), llroundd2(3), trunc(3), truncf4(3), truncd2(3)