代码搜索:factor
找到约 6,651 项符合「factor」的源代码
代码结果 6,651
www.eeworm.com/read/449530/7501252
c factor.c
// factor.c -- uses loops and recursion to calculate factorials
#include
long fact(int n);
long rfact(int n);
int main(void)
{
int num;
printf("This program calculates facto
www.eeworm.com/read/449276/7515344
c factor.c
www.eeworm.com/read/297942/7985060
m factor.m
function [val] = factor(n)
% Compute the factorial of n using logarithms to avoid overflow.
format long
n = n + 9.0;
n2 = n * n;
temp = (n-1) * log(n) - n + log(sqrt(2.0 * pi * n)) ...
+ ((1.
www.eeworm.com/read/297846/7992647
m factor.m
function [val] = factor(n)
% Compute the factorial of n using logarithms to avoid overflow.
format long
n = n + 9.0;
n2 = n * n;
temp = (n-1) * log(n) - n + log(sqrt(2.0 * pi * n)) ...
+ ((1.
www.eeworm.com/read/196983/8037697
mak factor.mak
# ****************************************************************************
# * *
# * factor.mak
www.eeworm.com/read/196983/8037786
c factor.c
/*****************************************************************************
* *
* ------------------------------- facto
www.eeworm.com/read/196983/8037859
h factor.h
/*****************************************************************************
* *
* ------------------------------- facto
www.eeworm.com/read/296549/8096481
java factor.java
class Factor{
public static void main(String args[]){
int mm =Mul(); /*Mul()方法被执行后,return语句将计算结果返回该处,然后赋值给变量mm。*/
System.out.println("6!="+mm);
}
public s
www.eeworm.com/read/296549/8096482