Contents

SushiEngine

Accumulator

template <typename T>
using SushiEngine::Accumulator = std::conditional_t<(sizeof(T) < sizeof(double)), double, T>

Description

Names double for any scalar narrower than it and the scalar itself otherwise.