⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 factor.6

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 6
字号:
.th FACTOR VI 1/15/73.sh NAMEfactor \*- discover prime factors of a number.sh SYNOPSIS.bd factor [ number ].sh DESCRIPTIONWhen.it factoris invoked without an argument, it waits for a number to be typed in.If you type in a positivenumber less than 2\u\s756\s0\d (about.if n 7.2e16).if t 7.2\(mu10\u\s716\s0\d\|)it will factor the number and print its prime factors; each one is printedthe proper number of times.Then it waits for another number.It exits if it encounters a zero or any non-numeric character..s3If.it factoris invoked with an argument, it factors the numberas above and then exits..s3Maximum time to factor is proportional to.if n sqrt(n).if t \(sr\o'\fIn\fR\(rn'and occurs when.it nis primeor the square of a prime.It takes 1 minute to factor a primenear10\u\s713\s0\d..sh DIAGNOSTICS`Ouch.' for input out of range or for garbage input..sh BUGS

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -