alexishachemi/my_libC

Math my_dpow function always returns 0

Closed this issue · 1 comments

Hello,
While using using your library for my huge international project, I encountered an issue with the my_dpow function: it always returns 0 (╯°□°)╯︵ ┻━┻

Related code:

double my_dpow(double nb, int power)

Note: It might be related to the variable instantiation ¯\ (ツ)

PS: I hope your doing well 😀

Hi,
First of all I'd like to apologize for the time it took for me to notice this issue 😅. I'm not sure why I wasn't notified but better late than never right ??

After a thorough investigation of the source code, I have concluded that the issue you've pinpointed is most likely an unfortunate byproduct of variable instantiation as you've already hypothesised.

I'm opening a new branch ASAP to work on the issue.

PS: I am doing fine thank you, I hope everything is alright for you too 😄