Products OR-Tools Installation C++ Reference: class CachedLog This documentation is automatically generated. Method CachedLog ~CachedLog InitReturn type: void Arguments: int cache_sizeThis method can only be called once, and with a cache_size > 0. Log2Return type: double Arguments: int64 inputReturns the log2 of 'input'. Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Last updated March 26, 2019.