acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
sign.h
1#pragma once
2
3
4namespace comparison
5{
6
7
8 template < typename T >
9 inline T abs(const T& t)
10 {
11
12 return t >= (T)0 ? t : -t;
13
14 }
15
16
17} // namespace comparison
18
19
20