repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pci: don't do sanity check for missing pci bus, the check can misfire.
[minix.git]
/
commands
/
m4
/
Sqroot.m4
blob
6087906980c038d654f35cd90f1d76fd48cc8235
1
define(square_root,
2
`ifelse(eval($1<0),1,negative-square-root,
3
`square_root_aux($1, 1, eval(($1+1)/2))')')
4
define(square_root_aux,
5
`ifelse($3, $2, $3,
6
$3, eval($1/$2), $3,
7
`square_root_aux($1, $3, eval(($3+($1/$3))/2))')')