Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004363 [Quercus] major always 01-26-11 13:29 01-29-11 08:20
Reporter bodhuin View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 4.0.14
  Product Build
Summary 0004363: Missing log function with 2 parameters , second one as base as in the php documentation
Description Method log with 2 parameters is missing in the MathModule.java

This does not permit to use the tcpdf library as it is used the two parameters method log.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0005007)
harryr
01-28-11 09:14
edited on: 01-28-11 09:18

This can be achieved by doing log(v) / log(b).

The MathModule::log method can be extend to:

  private static double log(double v, double b)
  {
    return Math.log(v) / Math.log(b);
  }

 
(0005008)
kdecherf
01-29-11 08:20

Fix (tested):
https://github.com/CleverCloud/Quercus/commit/43e7aa1778266a67d2823011325b602371878e0a [^]
 

- Issue History
Date Modified Username Field Change
01-26-11 13:29 bodhuin New Issue
01-27-11 05:44 kdecherf Issue Monitored: kdecherf
01-28-11 09:14 harryr Note Added: 0005007
01-28-11 09:18 harryr Note Edited: 0005007
01-29-11 08:20 kdecherf Note Added: 0005008


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
34 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker