2018-11-05 07:28:01 +00:00
|
|
|
// "Build Engine & Tools" Copyright (c) 1993-1997 Ken Silverman
|
|
|
|
// Ken Silverman's official web site: "http://www.advsys.net/ken"
|
|
|
|
// See the included license file "BUILDLIC.TXT" for license info.
|
|
|
|
//
|
2006-04-13 20:47:06 +00:00
|
|
|
// This file has been modified from Ken Silverman's original release
|
2012-03-12 04:47:04 +00:00
|
|
|
// by Jonathon Fowler (jf@jonof.id.au)
|
2018-11-05 07:28:01 +00:00
|
|
|
// by the EDuke32 team (development@voidpoint.com)
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2020-07-14 18:21:16 +00:00
|
|
|
#include "templates.h"
|
2014-11-22 12:32:56 +00:00
|
|
|
#ifndef pragmas_h_
|
|
|
|
#define pragmas_h_
|
2006-04-13 20:47:06 +00:00
|
|
|
|
2020-09-04 19:24:48 +00:00
|
|
|
static inline constexpr int ksgn(int32_t a) { return (a > 0) - (a < 0); }
|
2006-07-01 01:40:18 +00:00
|
|
|
|
2020-05-08 22:34:48 +00:00
|
|
|
inline int sgn(int32_t a) { return (a > 0) - (a < 0); }
|
|
|
|
|
2014-11-22 12:32:56 +00:00
|
|
|
#endif // pragmas_h_
|