| 23 | typename bint |
| 24 | > |
| 25 | bint short_fact (unsigned short value) |
| 26 | /*! |
| 27 | ensures |
| 28 | - returns the factorial of value |
| 29 | !*/ |
| 30 | { |
| 31 | using namespace relational_operators; |
| 32 | |
| 33 | bint a = 1; |
| 34 | for (unsigned short i = 2; i <= value; ++i) |
| 35 | a *= i; |
| 36 | |
| 37 | return a; |
| 38 | } |
| 39 | |
| 40 | template < |
| 41 | typename bint |
nothing calls this directly
no outgoing calls
no test coverage detected