> runtime math checks and this code uses a lot of math operations.
Can you tell us what checks you assume to be active with -d:release but ignored with -d:danger in more detail? (I would assume that there are not much checks involved in float math at all -- plain +, -, * operations should just occur and result in INF for overflow.)