Adding the start of math
This commit is contained in:
parent
93f734f5e9
commit
3ac78b4c7f
13 changed files with 628 additions and 0 deletions
26
math/sources/operation/ft_pow.c
Normal file
26
math/sources/operation/ft_pow.c
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* ft_pow.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/05/04 12:14:51 by rparodi #+# #+# */
|
||||
/* Updated: 2024/05/27 14:37:29 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "../../includes/ft_math.h"
|
||||
|
||||
long long int ft_pow(long long int base, long long int exponent)
|
||||
{
|
||||
(void)base;
|
||||
(void)exponent;
|
||||
return (0);
|
||||
}
|
||||
|
||||
// int main(void)
|
||||
// {
|
||||
// printf("Original: %f\n", pow(3, 3));
|
||||
// printf("HomeMade: %lld\n", ft_pow(3, 3));
|
||||
// }
|
||||
Loading…
Add table
Add a link
Reference in a new issue