/* This file is part of the dynarmic project. * Copyright (c) 2016 MerryMage * This software may be used and distributed according to the terms of the GNU * General Public License version 2 or any later version. */ #pragma once namespace Dynarmic { namespace Common { template constexpr char SignToChar(T value) { return value >= 0 ? '+' : '-'; } } // namespace Common } // namespace Dynarmic