mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.10.2t30
This commit is contained in:
27
help/iroot
Normal file
27
help/iroot
Normal file
@@ -0,0 +1,27 @@
|
||||
NAME
|
||||
iroot - integer part of specified root
|
||||
|
||||
SYNOPSIS
|
||||
iroot(x, n)
|
||||
|
||||
TYPES
|
||||
x nonnegative real
|
||||
n positive integer
|
||||
|
||||
return nonnegative real
|
||||
|
||||
DESCRIPTION
|
||||
Return the greatest integer v for which v^n <= x.
|
||||
|
||||
EXAMPLE
|
||||
> print iroot(100,3), iroot(274,3), iroot(1,9), iroot(pi()^8,5)
|
||||
4 6 1 6
|
||||
|
||||
LIMITS
|
||||
n > 0
|
||||
|
||||
LIBRARY
|
||||
NUMBER *qiroot(NUMBER *x, NUMBER* n)
|
||||
|
||||
SEE ALSO
|
||||
isqrt, sqrt
|
Reference in New Issue
Block a user