Results 1 to 2 of 2

Thread: factorial and variables

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2000
    Posts
    50

    factorial and variables

    wht data type do i have to use for saving factorials from big numbers??? unsoigned long is toooooo small (on my computer is it 4294967295...

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    You can use the double data type
    Code:
    Double
    (double-precision floating-point) 8 bytes -1.79769313486232E308 to 
    -4.94065645841247E-324 for negative values; 4.94065645841247E-324 to 1.79769313486232E308 for positive values
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width