Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
ilog[b] - compute integer base b logarithm
ilog2 - compute integer base 2 logarithm
ilog10 - compute integer base 10 logarithm
Calling Sequence
ilog[b](x)
ilog2(x)
ilog10(x)
Parameters
b
-
positive real number
x
expression
Description
These functions compute integer approximations to logarithms of x. They are based on the IEEE function logb.
The ilog[b](x) function approximates the integer base b logarithm, where the default base is exp(1).
You can enter the command ilog[b] using either the 1-D or 2-D calling sequence. For example, ilog[2](50) is equivalent to .
If x is real, ilog[b](x) returns r such that.
The ilog2(x) function returns the integer base 2 logarithm of x.
If x is real and r = ilog2(x), then r is either an exact integer or special symbolic value, and.
If x is a complex numeric, ilog2(x) returns max(ilog2(Re(x)), ilog2(Im(x))).
If x is a special symbolic value, the indicated result is returned.
1.
2. =
3. =
The ilog10(x) function returns the integer base 10 logarithm of x.
If x is real, ilog10(x) returns r such that r is either an exact integer or special symbolic value, and.
If x is a complex numeric, ilog10(x) returns max(ilog10(Re(x)), ilog10(Im(x))).
The computation of ilog2(x) and ilog10(x) is more efficient than ilog[b](x), b <> 2, 10.
Thread Safety
The ilog2 and ilog10 commands are thread-safe as of Maple 15.
For more information on thread safety, see index/threadsafe.
Examples
See Also
exceptions, float, initialfunctions, type
Download Help Document