mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
Release calc version 2.10.2t30
This commit is contained in:
26
help/ilog10
Normal file
26
help/ilog10
Normal file
@@ -0,0 +1,26 @@
|
||||
NAME
|
||||
ilog10 - floor of logarithm to base 10
|
||||
|
||||
SYNOPSIS
|
||||
ilog10(x)
|
||||
|
||||
TYPES
|
||||
x nonzero real
|
||||
|
||||
return integer
|
||||
|
||||
DESCRIPTION
|
||||
Returns the greatest integer n for which 10^n <= x.
|
||||
|
||||
EXAMPLE
|
||||
> print ilog10(7), ilog10(77.7), ilog10(777), ilog10(.00777), ilog10(-1e27)
|
||||
0 1 2 -3 27
|
||||
|
||||
LIMITS
|
||||
none
|
||||
|
||||
LIBRARY
|
||||
long qilog10(NUMBER *q)
|
||||
|
||||
SEE ALSO
|
||||
ilog2, ilog
|
Reference in New Issue
Block a user