Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
how to store 50 digit number in c laguage?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
nilushika
New Member
Join Date:
Sep 2013
Posts:
20
#1
how to store 50 digit number in c laguage?
Sep 14 '13, 04:30 PM
what is the data type of a variable to store 50 digit number in c? and what is the data type specifier for that?
nilushika
New Member
Join Date:
Sep 2013
Posts:
20
#2
Sep 14 '13, 04:32 PM
can someone please help me?
Comment
Post
Cancel
pandu13
New Member
Join Date:
Aug 2013
Posts:
16
#3
Sep 14 '13, 04:44 PM
what is the problem with int,float etc.
try using arrays.
Comment
Post
Cancel
nilushika
New Member
Join Date:
Sep 2013
Posts:
20
#4
Sep 14 '13, 04:54 PM
50 digit means too large ,even 'long double' cannot hold such one!
Comment
Post
Cancel
pandu13
New Member
Join Date:
Aug 2013
Posts:
16
#5
Sep 14 '13, 05:09 PM
May be you need to use third party library like this one
The GNU MP Bignum Library
http://gmplib.org/
Comment
Post
Cancel
donbock
Recognized Expert
Top Contributor
Join Date:
Mar 2008
Posts:
2427
#6
Sep 17 '13, 04:15 AM
Is this a school assignment where you are constrained to write the code yourself or is it a work assignment where you have the option to buy a third-party library?
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment