| 41 | typename bint |
| 42 | > |
| 43 | bint short_fact_squared (unsigned short value) |
| 44 | /*! |
| 45 | ensures |
| 46 | - returns the square of the factorial of value |
| 47 | !*/ |
| 48 | { |
| 49 | using namespace relational_operators; |
| 50 | |
| 51 | bint a = 1; |
| 52 | for (unsigned short i = 2; i <= value; ++i) |
| 53 | { |
| 54 | a *= i; |
| 55 | a *= i; |
| 56 | } |
| 57 | |
| 58 | return a; |
| 59 | } |
| 60 | |
| 61 | |
| 62 | template < |
nothing calls this directly
no outgoing calls
no test coverage detected