Return the remainder of the division of the specified x by the specified y. The returned value has the same sign as x and is less than y in magnitude.
Synopsis
Description
Special value handling: * If either argument is quiet NaN, quiet NaN is returned. * If either argument is signaling NaN, quiet NaN is returned, and the value of the macro EDOM is stored into errno. * If x is +/‐infnity and y is not NaN, quiet NaN is returned and the value of the macro EDOM is stored into errno. * If x is +/‐0 and y is not zero, +/‐0 is returned. * If y is +/‐0, quite NaN is returned and the value of the macro EDOM is stored into errno. * If x is finite and y is +/‐infnity, x is returned.
Created with MrDocs