mirror of
https://github.com/Ed94/gencpp.git
synced 2024-12-22 15:54:45 -08:00
25 lines
226 B
C++
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;
|
|
}
|
|
|