This website works better with JavaScript.
Explore
Help
Sign In
Rockingcool
/
netpong
Watch
1
Star
0
Fork
You've already forked netpong
0
Code
Issues
Pull Requests
Packages
Projects
Releases
2
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
c87c3ce3a2
master
v0.1
v0.2
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'c87c3ce3a2'
${ noResults }
netpong
/
includes
/
math-helpers.hpp
7 lines
97 B
C++
Raw
Blame
History
int
signum
(
int
num
)
{
int
retval
=
0
;
(
num
>
0
)
?
retval
=
1
:
retval
=
-
1
;
return
retval
;
}
Reference in New Issue
View Git Blame
Copy Permalink