2023-04-02 08:53:15 -07:00
|
|
|
inline
|
2023-04-02 09:25:08 -07:00
|
|
|
u8 square(u8 value)
|
2023-04-02 08:53:15 -07:00
|
|
|
{
|
2023-04-02 09:25:08 -07:00
|
|
|
return value * value;
|
2023-04-02 08:53:15 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
inline
|
2023-04-02 09:25:08 -07:00
|
|
|
u16 square(u16 value)
|
2023-04-02 08:53:15 -07:00
|
|
|
{
|
2023-04-02 09:25:08 -07:00
|
|
|
return value * value;
|
2023-04-02 08:53:15 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
inline
|
2023-04-02 09:25:08 -07:00
|
|
|
u32 square(u32 value)
|
2023-04-02 08:53:15 -07:00
|
|
|
{
|
2023-04-02 09:25:08 -07:00
|
|
|
return value * value;
|
2023-04-02 08:53:15 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
inline
|
2023-04-02 09:25:08 -07:00
|
|
|
u64 square(u64 value)
|
2023-04-02 08:53:15 -07:00
|
|
|
{
|
2023-04-02 09:25:08 -07:00
|
|
|
return value * value;
|
2023-04-02 08:53:15 -07:00
|
|
|
}
|
|
|
|
|