Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Challenge for you...
#43
Tried to install this Julia "natively" on EndeavourOS (Arch-based Linux) but it wants to install a package that would trash something needed by GIMP so... currently downloading the "generic" version from the authors' web site. Let's see how this goes. However it wouldn't be very useful if it does scientific notation on 99! This formula is just too ridiculous for any programming language to handle, requesting output of very small numbers out of computing with very large ones. Is there a jargon for such a thing?

Edit: this is bad:

Code: (Select All)
julia> print(2*3*4*5*6*7*8*9*10)
3628800
julia> print(2*3*4*5*6*7*8*9*10*11*12*13*14*15*16*17*18*19*20)
2432902008176640000
julia> print(2*3*4*5*6*7*8*9*10*11*12*13*14*15*16*17*18*19*20*21*22*23*24*25*26*27*28*29*30)
-8764578968847253504
julia>

I did it that way because I don't know it it has a built-in factorial function.

EDIT #2: OK read the manual. But this might not be accurate:

Code: (Select All)
julia> factorial(big(30))
265252859812191058636308480000000

julia> factorial(big(50))
30414093201713378043612608166064768844377641568960512000000000000

julia> factorial(big(99))
933262154439441526816992388562667004907159682643816214685929638952175999932299156089414639761565182862536979208272237582511852109168640000000000000000000000
Reply


Messages In This Thread
Challenge for you... - by eoredson - 04-20-2023, 04:08 AM
RE: Challenge for you... - by bplus - 04-20-2023, 02:02 PM
RE: Challenge for you... - by mnrvovrfc - 04-20-2023, 02:52 PM
RE: Challenge for you... - by bplus - 04-20-2023, 03:26 PM
RE: Challenge for you... - by Jack - 04-20-2023, 05:07 PM
RE: Challenge for you... - by mnrvovrfc - 04-20-2023, 05:13 PM
RE: Challenge for you... - by Petr - 04-20-2023, 06:32 PM
RE: Challenge for you... - by bplus - 04-20-2023, 06:34 PM
RE: Challenge for you... - by Kernelpanic - 04-20-2023, 08:39 PM
RE: Challenge for you... - by Kernelpanic - 04-20-2023, 07:33 PM
RE: Challenge for you... - by mnrvovrfc - 04-20-2023, 07:44 PM
RE: Challenge for you... - by Petr - 04-20-2023, 07:44 PM
RE: Challenge for you... - by Jack - 04-20-2023, 08:09 PM
RE: Challenge for you... - by Petr - 04-20-2023, 08:18 PM
RE: Challenge for you... - by Kernelpanic - 04-20-2023, 08:34 PM
RE: Challenge for you... - by bplus - 04-20-2023, 08:37 PM
RE: Challenge for you... - by bplus - 04-20-2023, 08:35 PM
RE: Challenge for you... - by Kernelpanic - 04-20-2023, 08:45 PM
RE: Challenge for you... - by bplus - 04-20-2023, 08:55 PM
RE: Challenge for you... - by Jack - 04-20-2023, 09:00 PM
RE: Challenge for you... - by Kernelpanic - 04-20-2023, 09:13 PM
RE: Challenge for you... - by bplus - 04-20-2023, 09:23 PM
RE: Challenge for you... - by Kernelpanic - 04-22-2023, 04:23 PM
RE: Challenge for you... - by Jack - 04-20-2023, 09:54 PM
RE: Challenge for you... - by eoredson - 04-21-2023, 12:27 AM
RE: Challenge for you... - by Jack - 04-21-2023, 12:50 AM
RE: Challenge for you... - by eoredson - 04-21-2023, 01:04 AM
RE: Challenge for you... - by mnrvovrfc - 04-21-2023, 01:28 AM
RE: Challenge for you... - by Jack - 04-21-2023, 01:14 AM
RE: Challenge for you... - by Jack - 04-21-2023, 01:34 AM
RE: Challenge for you... - by mnrvovrfc - 04-21-2023, 02:27 AM
RE: Challenge for you... - by eoredson - 04-21-2023, 02:09 AM
RE: Challenge for you... - by mnrvovrfc - 04-21-2023, 02:33 AM
RE: Challenge for you... - by Jack - 04-21-2023, 02:30 AM
RE: Challenge for you... - by Jack - 04-21-2023, 02:33 AM
RE: Challenge for you... - by eoredson - 04-21-2023, 02:33 AM
RE: Challenge for you... - by bplus - 04-21-2023, 01:20 PM
RE: Challenge for you... - by Jack - 04-21-2023, 02:44 AM
RE: Challenge for you... - by DANILIN - 04-21-2023, 01:49 PM
RE: Challenge for you... - by mnrvovrfc - 04-21-2023, 02:18 PM
RE: Challenge for you... - by bplus - 04-21-2023, 03:42 PM
RE: Challenge for you... - by mnrvovrfc - 04-21-2023, 04:07 PM
RE: Challenge for you... - by mnrvovrfc - 04-22-2023, 04:53 PM
RE: Challenge for you... - by Kernelpanic - 04-22-2023, 09:20 PM
RE: Challenge for you... - by mnrvovrfc - 04-22-2023, 09:25 PM
RE: Challenge for you... - by Kernelpanic - 04-22-2023, 09:30 PM
RE: Challenge for you... - by bplus - 04-22-2023, 11:06 PM
RE: Challenge for you... - by Jack - 04-23-2023, 03:37 PM
RE: Challenge for you... - by david_uwi - 04-23-2023, 04:02 PM
RE: Challenge for you... - by mnrvovrfc - 04-23-2023, 04:44 PM
RE: Challenge for you... - by Kernelpanic - 04-23-2023, 04:36 PM
RE: Challenge for you... - by Kernelpanic - 04-23-2023, 04:46 PM
RE: Challenge for you... - by bplus - 04-23-2023, 05:30 PM
RE: Challenge for you... - by Jack - 04-23-2023, 05:36 PM
RE: Challenge for you... - by bplus - 04-23-2023, 05:47 PM
RE: Challenge for you... - by david_uwi - 04-23-2023, 05:44 PM
RE: Challenge for you... - by Jack - 04-23-2023, 06:12 PM
RE: Challenge for you... - by DANILIN - 04-28-2023, 06:57 PM
RE: Challenge for you... - by Jack - 04-28-2023, 07:06 PM



Users browsing this thread: 9 Guest(s)