mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
Make ksgn() return int instead of int32_t
git-svn-id: https://svn.eduke32.com/eduke32@7864 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
26272f6755
commit
0652b5b6d6
3 changed files with 3 additions and 3 deletions
|
@ -252,7 +252,7 @@ static FORCE_INLINE int32_t klabs(int32_t const a)
|
|||
#endif
|
||||
#endif
|
||||
#ifndef pragmas_have_ksgn
|
||||
static FORCE_INLINE CONSTEXPR int32_t ksgn(int32_t a) { return (a > 0) - (a < 0); }
|
||||
static FORCE_INLINE CONSTEXPR int ksgn(int32_t a) { return (a > 0) - (a < 0); }
|
||||
#endif
|
||||
|
||||
#ifndef pragmas_have_mulscale
|
||||
|
|
|
@ -167,7 +167,7 @@ static inline int32_t klabs(int32_t a)
|
|||
|
||||
#define pragmas_have_ksgn
|
||||
|
||||
static inline int32_t ksgn(int32_t a)
|
||||
static inline int ksgn(int32_t a)
|
||||
{
|
||||
int32_t s, t;
|
||||
__asm__(
|
||||
|
|
|
@ -354,7 +354,7 @@ static __inline int32_t klabs(int32_t a)
|
|||
|
||||
#define pragmas_have_ksgn
|
||||
|
||||
static __inline int32_t ksgn(int32_t b)
|
||||
static __inline int ksgn(int32_t b)
|
||||
{
|
||||
_asm {
|
||||
mov ebx, b
|
||||
|
|
Loading…
Reference in a new issue