gencpp/test/gen/math.gen.hpp
2023-04-02 12:25:08 -04:00

25 lines
226 B
C++

inline
u8 square(u8 value)
{
return value * value;
}
inline
u16 square(u16 value)
{
return value * value;
}
inline
u32 square(u32 value)
{
return value * value;
}
inline
u64 square(u64 value)
{
return value * value;
}