代码搜索:factor
找到约 6,651 项符合「factor」的源代码
代码结果 6,651
www.eeworm.com/read/361386/10055574
factor
/* define a recursive function */
let
/* calculate n! */
function nfactor(n: int): int =
if n = 0
then 1
else n * nfactor(n-1)
in
nfactor(10)
end
www.eeworm.com/read/493005/6403712
factor
NAME
factor - smallest prime factor not exceeding specified limit
SYNOPSIS
factor(n [, limit [, err]])
TYPES
n integer
limit integer with abs(limit) < 2^32, defaults to 2^32 - 1
www.eeworm.com/read/268798/11121147
factor
www.eeworm.com/read/431223/8699117
c factor.c
#include
//#ifndef WINDOWS
//#include
//#else
#include "pfwstdio.h"
//#endif
#include
#ifdef ANSIPROTO
#include
#endif
#include "constant.h"
#include "param.h"
www.eeworm.com/read/429877/8784594
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/285053/8873372
mak factor.mak
# Bcc32Pch autogenerated makefile (2.1.0)
!if !$d(BCC32)
BCC32 = bcc32ide -q $(STOPAFTERERROR)
!endif
!if !$d(DCC32)
DCC32 = dcc32 -Q
!endif
# ------------------------------------------------
www.eeworm.com/read/285053/8873436