Skip to content

🐣 Educational project s21_math from organization «School 21»

Notifications You must be signed in to change notification settings

rynortheast/21-math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

21-math

PREVIEW_WILL_BE_ADDED_LATER.png

Educational project s21_math from organization «School 21».

Implementation of some functions of math.h library with tests. This library implements basic mathematical operations, which are then used in various algorithms.

[ SPOILER ] Overview of implemented code
No. Function Description Status
1 int abs(int x) computes absolute value of an integer value ☑️
2 long double acos(double x) computes arc cosine
3 long double asin(double x) computes arc sine
4 long double atan(double x) computes arc tangent
5 long double ceil(double x) returns the nearest integer not less than the given value ☑️
6 long double cos(double x) computes cosine
7 long double exp(double x) returns e raised to the given power ☑️
8 long double fabs(double x) computes absolute value of a floating-point value ☑️
9 long double floor(double x) returns the nearest integer not greater than the given value ☑️
10 long double fmod(double x, double y) remainder of the floating-point division operation ☑️
11 long double log(double x) computes natural logarithm ☑️
11 long double pow(double base, double exp) raises a number to the given power ☑️
11 long double sin(double x) computes sine
11 long double sqrt(double x) computes square root
11 long double tan(double x) computes tangent

— Developer: RV-304 (@rynortheast) ✅, Artem Kain (@artemxgod) ☑️
— Thanks to 21-SCHOOL for provided assignment and special learning conditions ✌️🔥

Usage

  1. Clone this repository via
    • SSH git@github.com:rynortheast/21-math.git or
    • HTTPS https://github.com/rynortheast/21-math.git
  2. Change code base if necessary
  3. Run make test to build project and run main tests
  4. Run make s21_math.a to build a static lib

About

🐣 Educational project s21_math from organization «School 21»

Topics

Resources

Stars

Watchers

Forks