Module rustitude_core::utils
source · Expand description
This module holds some convenience methods for writing nice test functions for Amplitudes.
Functions§
- Generate a test event for the reaction $
\gamma p \to K_S K_S p$ with 32-bit precision. - Generate a test event for the reaction $
\gamma p \to K_S K_S p$ with 64-bit precision. - Checks if two floating point numbers are essentially equal. See https://floating-point-gui.de/errors/comparison/.