projects
/
Libft.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4212a0
)
Fix indentation of ft_sgn
author
Lukas Jiriste
<ljiriste@student.42prague.com>
Tue, 30 Jan 2024 17:10:13 +0000
(18:10 +0100)
committer
Lukas Jiriste
<ljiriste@student.42prague.com>
Tue, 30 Jan 2024 17:10:13 +0000
(18:10 +0100)
ft_math/ft_sgn.c
patch
|
blob
|
history
diff --git
a/ft_math/ft_sgn.c
b/ft_math/ft_sgn.c
index 36c2a78a5f8860a61f926fc9f98bedca3362ab56..da3b0ae631811fce131c28570c4c85ebd95e6b0b 100644
(file)
--- a/
ft_math/ft_sgn.c
+++ b/
ft_math/ft_sgn.c
@@
-6,13
+6,13
@@
/* By: ljiriste <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/01/18 09:41:56 by ljiriste #+# #+# */
-/* Updated: 2024/01/
18 09:45:43
by ljiriste ### ########.fr */
+/* Updated: 2024/01/
30 18:09:32
by ljiriste ### ########.fr */
/* */
/* ************************************************************************** */
#include "ft_math.h"
-int ft_sgn(int n)
+int
ft_sgn(int n)
{
return ((n > 0) - (n < 0));
}