gale.math_util module

This file contains small math utilities shared by other gale modules — currently just a tolerance-based float equality check, used by gale.ease_functions to detect t=0/t=1 exactly despite floating-point drift.

Author: Alejandro Mujica (aledrums@gmail.com)

gale.math_util.real_equal(x, y)[source]
Parameters:
  • x (float)

  • y (float)

Return type:

bool