ceil

ceiling function.

  1. real ceil(real x)
    real
    ceil
    (
    real x
    )
  2. alias ceiling = ceil

Examples

static assert((-0.01).ceil == 0);
static assert(real(0).ceil == 0);
static assert(0.01.ceil == 1);

Meta