RosettaCodeData/Task/Gamma-function/PureBasic/gamma-function-2.basic

9 lines
213 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
Debug "Gamma()"
For i = 12 To 15
Debug StrD(i/3.0, 3)+" "+StrD(Gamma(i/3.0))
Next i
Debug ""
Debug "Ln(Gamma(5.0)) = "+StrD(GammLn(5.0), 16) ; Ln(24)
Debug ""
Debug "Factorial 6 = "+StrD(Factorial(6), 0) ; 72