Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.

Implement the <math.h> sqrt() function #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Implement the <math.h> sqrt() function #9

wants to merge 4 commits into from

Conversation

SamuelSarle
Copy link
Contributor

No description provided.

src/math/sqrt.c Outdated
printf("%.10f\n",sqrt(4));
printf("%.10f\n",sqrt(-16));
printf("%.10f\n",sqrt(1000000));
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests should be in test/math/check_sqrt.c. Also, space after comma.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants