Skip to content

shz_ceilf

Markdown
SHZ_INLINE float shz_ceilf(float x) SHZ_NOEXCEPT;

Replacement for the <math.h> routine, ceilf().

NameTypeDescription
xfloat

float

Returns the closest integral value to x, rounded up, as a float.

  • This routine only returns valid values for the input range INT32_MIN <= x <= INT32_MAX.
  • C++ equivalent: shz::ceilf
  • Type-generic form: none
  • Back-ends: SH4: shared C implementation · SW: portable C · SPU: shared C implementation
  • Defined in: sh4zam/shz_scalar.h:92
  • Module: Scalar, section "Rounding"