title |
description |
ms.assetid |
keywords |
topic_type |
api_name |
api_location |
api_type |
ms.topic |
ms.date |
fmod (Corecrt\_math.h) |
Returns the floating-point remainder of x/y. |
bb940548-c4c5-4109-a488-4ea7295c7213 |
|
|
|
|
|
reference |
05/31/2018 |
Returns the floating-point remainder of x/y.
Item |
Description |
x
|
[in] The floating-point dividend.
|
y
|
[in] The floating-point divisor.
|
The floating-point remainder of the x parameter divided by the y parameter.
Remarks
The floating-point remainder is calculated such that x = i * y + f, where i is an integer, f has the same sign as x, and the absolute value of f is less than the absolute value of y.
This function is supported in the following shader models.
Requirement |
Value |
Header
|
- Corecrt_math.h
|
-
Intrinsic Functions (DirectX HLSL)