Spoonfeeding removed, as well as links
Getting Floating point: overflow error in factorial code
Collapse
X
-
-
Originally posted by y8ycglwell i did take a look at it before you took it off.... but it didnt help. at all. it was compleat and total giberish to me. i dont want somone to tell me the code and expect me to understand. i want to know what im doing AS I DO IT........peace by peace.
the left of it. Use a big integer class for that because native types just can't handle it.
kind regards,
JosComment
-
Originally posted by y8ycglwell i did take a look at it before you took it off.... but it didnt help. at all. it was compleat and total giberish to me. i dont want somone to tell me the code and expect me to understand. i want to know what im doing AS I DO IT........peace by peace.
Shouting your demands at people who give up their valuable time to try to get some basic understanding into you, even though by, all appearances, you are unwilling or unable to grasp what you're being told, is not acceptable behaviour on this site.
I appreciate your frustration, but it is clear (even to me - no .NET expert) that you are not paying enough attention to what is being said and simply want your problem solved for you. If you read what has been said and try to grasp the significance, you will better understand the very helpful responses you are being offered.
Please don't cause me to take this matter further.
ADMINISTRATOR.Comment
-
Just to close the case now: (stand back here come a whole lot of digits):
414935960343785 408555686709308 661217095111919 493180991768946 765769755856512 353195008600076 521780034200751 846353836171184 957508711140459 077945534021610 683396116210379 041991775220626 633901796828051 647196974959688 424577287660971 030037261110953 402411271188331 577388153284389 297376130211063 129303744014853 787254460796102 904294910497938 881207625116251 329170046416689 621175902035751 754889806535778 689152850937824 699946746991908 320935110683638 242870635222685 443392137751504 885881040368188 090992929124971 419005089389944 047153514731545 315874415099601 742678750874603 679741170723687 472771439889206 836916185036081 984597180937844 535239585053776 110865111623631 459208861085574 508745139453054 362137118981508 471920944263742 032750299963337 849440147756714 146808242074999 147148783596697 206389546705899 601785694802633 887671128710680 049508274007171 248194763864013 691935443541203 127866014347925 499591435301206 531034066255032 310207383515021 951031486736123 387393950965514 621593490157899 499440723110044 269248381401414 554878727380458 560235615832043 179459530558306 933512468907212 461514684853087 240312679670891 135489827334753 757568993651763 964247817334625 108790157434373 989204922670983 170339321071763 439833524445760 404765654004144 146994799843545 545977993867028 394285134131889 131656953108485 135250940061477 740470073314065 417944280044366 919036854692708 572717016480115 120574524486079 687737848036606 530091098156390 912941106337156 215409038001350 586716242623339 024341666287165 212285902745688 335048979268693 697928783768948 414365738664369 550754739648822 562221833800146 007611968592176 032348084674552 163304117380043 311442259262436 905587829149079 738857587845857 398286953903023 838372658824276 543064375177578 972150450713618 017300516284244 762942274857556 278287634987671 952813689135839 188244992847415 916831303340321 999467520829148 857643458638323 135452050759559 120620672732969 513861229946586 075273178844524 498653481641692 388448890614958 509343734428898 148844273218171 312725338915345 065811438233812 058753798086050 808897617538828 962529336337504 545491686002672 295912255288545 844826866553243 130113537548124 095612376860780 077007079395418 489071494673778 544075283078729 881039129451219 298647937034512 574364455814597 571408227059863 251653529065845 711235852702119 334529811055683 988098840949803 461850780252730 387367840421694 272379804643042 500450308066370 327600163419214 428057088024308 505678921086469 774551395391198 386361671903002 781463801369324 823327715951805 961930695042378 360826205708872 092979297974294 045768773383198 774446855442948 003217410566894 237105450288704 196119150727390 000316420144742 133232938716180 295556140046028 674004228853898 546503280284285 151222960287957 418016218232360 983209714410470 125330673148961 532367887349845 539496043970503 523477662113959 145192704221222 314269986920874 635209806862243 548133761943951 319428681134865 315622281732149 764817053818461 553265961875302 964786011608722 636404439222576 019264946109168 851510131439455 743983031925571 541621514424691 223705191490978 618494361509631 099336395945617 965933968519586 053386311763241 470668422571923 947425317264795 597499932832472 798078964707530 540141940902006 097126747531863 655254032127577 578539306975300 565952082074574 994718981444537 722482078884433 351185456015688 537081828928952 183001396543769 472864187766657 628153897373401 594105436814354 373461342446920 670700827824236 455574508825566 701572427528103 171416406314106 813843309240272 813189608848130 406652261695528 256371838624649 442956888593938 467267236941994 755713205460182 634257310291153 535327288081827 730215967870884 372934121170845 115806299676972 666016636352769 599690215021221 049542595672785 931855162684471 003744346204220 035353912037383 930954206950214 862073906531909 108213443342514 978962842361985 716747738481260 974430550362508 663547207309712 980846971965377 227798931602005 607250580075124 074944481633922 143981184927482 819786551784785 477491987141384 850422903839540 905708420381372 771356677035650 410817805206950 321362335216927 405310153409217 618340788177356 746467490716166 006532304389026 397860655090053 098724354456893 156013299424071 122950154537715 210519424455127 953649712148722 221937292891598 330017423979775 925305013188378 834948842322225 073188163994389 356278171028754 325887945588577 427803907171663 812579037981491 484455268858716 299310145107332 155547732645760 359161842987083 232375688379171 350730060267382 922946870810307 519460203764381 386771073337793 125822573564355 345771628040304 809257859097472 334139329040722 398600054482692 961103936401275 395398993974200 219252689286225 649592791363695 469832473144940 942974942132087 169636628129638 461913781146092 107010330121199 342649416664491 303108984935353 664018312826831 125065783864259 065371970109072 764293305347512 973367169294150 478709492417781 215349794994497 323584451302100 297203599935765 077305636969505 399908912520048 101200905696331 443681791942479 635633891024862 507733672493998 017234516270488 501494383437358 264400534814749 574213288736484 795895538438363 782756014333777 988161268544624 064941344161191 089526533267616 276602211308792 116659243794965 348380302360642 949819855410143 115666017395185 394260086731985 645866846354427 301800222926075 897671921983675 295283651587155 218876983179990 058531215186910 377766768836542 912474198260994 345356715294128 238376121155556 862104545838103 551544049537184 707263632185327 754865018110026 213312284298609 261121595730660 239320774767428 009094626743221 388052906430677 112769640137359 062510510506235 682413176515330 307753589751345 651474241674015 174707208391018 699899932793649 108926879247397 058141528555439 659542226039190 592658256373446 764063595258389 669815119839598 866036837530420 179903281859455 694125505190663 028548695333776 829846000318080 938221300381022 143870574611813 042519619164059 704560351831217 081516586473565 565405329284117 486289570828567 923000535258463 770612805914520 355463899321278 759063496278379 758713525886182 132522635770383 962027373853249 083536804979900 857015224833034 395251973446533 429946525652360 967428345505237 397339023742618 088717992837222 853662934392408 957629131544421 065736092054818 421393658938677 155428424772751 001667343577430 936389484445647 643771840738743 794710078671510 704495546576262 815661375507307 637680806000318 442962339778082 333113597875771 369830128175716 256716832872815 119373366857894 371090977485812 228681268241223 172726811849752 078634531074953 317082601531594 402536453655244 535879520347452 134292489166445 048043553522819 777219819718690 548841768963987 827047820661269 214725486182478 596264342791902 745034529947693 679972172851654 655917994717890 678856872785744 700842897237782 347630807409195 129662383464278 396538650173246 658501921440916 946303712655811 977007746825620 351983187829135 910139978173036 351737647067143 839928102912244 608483205189832 483488551310255 397215831849316 536707322731729 954317507754756 347481273209566 554318518795869 781724917217008 657680989083278 308382404377379 744553425256887 128988555131809 670124978594542 906096273705906 599707841727384 207216055767890 605651676945654 901203881657758 619392309243629 833895498572798 745233980904998 584674848503995 091093988342104 246931136178759 786118030961087 743627649904146 551675455076136 657259149933761 143402437629102 903841358885313 125911325448492 258960071848511 693901939854346 494154837823383 025313687759900 054437223329014 625681840959988 305225215853285 998339903365954 189326966801632 658993582346632 470803240204297 913574257554985 493728961920916 507946719971214 398325815539458 351256480108898 868870568827112 226287340357724 184248032311730 273384422206040 156092420795694 932049438094024 655625303033288 241653020380060 412884443848841 891293939859717 656702115016113 401211693555358 649848029415632 382794475763150 426857342698631 165628009321645 781654104118990 783962107586051 450915265284224 336472308804690 884264125251265 847291340591951 717542911526220 022297569869279 591246209643630 570521330992164 222584376518891 936303298512232 829508061262005 735655542131835 558382893181387 959409623037927 772303444234323 415616035585905 023244752745026 308698314141253 963717544136118 972691586507167 223080834352955 784010872360273 470011187861462 331854394310570 584837704748060 350045568850206 027302222563976 307389399850249 781551826799169 941641455403299 098131905066543 581566576915290 689081862041384 440914563552912 420649017174364 304734551913759 229149532829881 518087400767334 869976953228714 507915844487039 804057376735557 778735939378915 771479560233407 084563923141701 183925552346181 197759156733859 559192652706240 637342777602158 465110353680579 633207148969426 633585703753058 296766082242084 654645585566678 892226276199902 639617926374578 516525409187566 085438596612219 442487204249600 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 000000000000000 00000000000
kind regards,
JosLast edited by NeoPa; Nov 26 '07, 05:57 PM. Reason: Stripped extraneous new-lines. Resisted temptation to add all the thousand separators :DComment
-
No. I was bluffing mainly. I'm sure Jos's answer is 100% accurate.
I have a text editor that shows what position it's at so counting the length of the number wasn't hard. With so many multiples of ten in the calculation it's obvious that there will be many zeroes at the end of the number.Comment
Comment