nn::math::RoundDown Function

Syntax

const void * RoundDown(
     const void * x,
     u32 base
);

Arguments

Name Description
in x Target value
in base Base value

Return Values

Returns the largest multiple of base that is equal to or less than x.

Description

Rounds down the value so that it is a multiple of the specified value.

Revision History

2011/03/01
Initial version.

CONFIDENTIAL