Report Typos and Errors    
Semi-Lagrangian Library
Modular library for kinetic and gyrokinetic simulations of plasmas in fusion energy devices.
Private Member Functions | List of all members
sll_o_factorial Interface Reference

Return factorial. More...

Private Member Functions

integer(kind=i64) function factorial_int32 (n)
 It would have been nice to declare the next functions as 'pure' functions, but it is safer to be able to indicate when their arguments have fallen out of range as this number is so limited anyway. More...
 
integer(kind=i64) function factorial_int64 (n)
 It would have been nice to declare the next functions as 'pure' functions, but it is safer to be able to indicate when their arguments have fallen out of range as this number is so limited anyway. More...
 

Detailed Description

Return factorial.

Definition at line 84 of file sll_m_utilities.F90.

Member Function/Subroutine Documentation

◆ factorial_int32()

integer(kind=i64) function factorial_int32 ( integer(kind=i32), intent(in)  n)
private

It would have been nice to declare the next functions as 'pure' functions, but it is safer to be able to indicate when their arguments have fallen out of range as this number is so limited anyway.

Definition at line 121 of file sll_m_utilities.F90.

◆ factorial_int64()

integer(kind=i64) function factorial_int64 ( integer(kind=i64), intent(in)  n)
private

It would have been nice to declare the next functions as 'pure' functions, but it is safer to be able to indicate when their arguments have fallen out of range as this number is so limited anyway.

Definition at line 146 of file sll_m_utilities.F90.

    Report Typos and Errors