Skip to content
BSFishy edited this page Feb 25, 2020 · 1 revision

A simple check to see if one value is greater than or equal to another. This is basically a cleaner and more expressive way of writing Left >= Right.

If the values are not meant to be directly compared, don't use this macro. It compares the values directly without checking for special types. This means that things like floating point inaccuracy is likely if you do use this.

Arguments:

  • Left: The left hand side of the expression.
  • Right: The right hand side of the expression.

Example:

Assert(GE(1, 0));  // Passes
Assert(GE(1, 1));  // Passes
Assert(GE(0, 1));  // Fails

Macros:

Clone this wiki locally