Skip to content

Handles Integer overflows and negative modulus errors in C.

License

Notifications You must be signed in to change notification settings

surajch77/BigINT-C

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BigINT-C

Handles Integer overflows and negative modulus errors in C.

@author - DIWAKAR BHARDWAJ, SURAJ PRAKASH CHOUBEY, ADITYA KUMAR

###Features in arithematic.h

bigInt - data type

scan - input bigInt from user

print - print bigInt magnitude with sign

printSign - print bigInt sign

printBigInt - print bigInt value

eqBigInt - bigInt.INT = char * (copies of char to bigInt)

eq - char * = char * (copies data of one into another)

str - convert int to str

integer - convert str to int using atoi function

add - addition of two bigInt

sub - substraction of two bigInt

mul - multiplication of two bigInt

div - division of two bigInt

mod - calculate the remainder when two bigInt are divided

abs - gives absolute value of two bigInt

cmp - compares two bigInt {-1,0,1} = {a<b, a=b, a>b}

trim - remove extra unnecessary 0

trimSign- remove extra unnecessary 0 and Sign

About

Handles Integer overflows and negative modulus errors in C.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%