Celeritas is a new Monte Carlo transport code designed to accelerate scientific discovery in high energy physics by improving detector simulation throughput and energy efficiency using GPUs.
Following on to #1510 this adds a hypot function to allow us to add a platform-independent and potentially higher accuracy definition. The current implementation uses std::fma rather than ipow to reduce the number of floating point operations and registers.
Following on to #1510 this adds a
hypot
function to allow us to add a platform-independent and potentially higher accuracy definition. The current implementation uses std::fma rather than ipow to reduce the number of floating point operations and registers.