I need to use logarithmic function of x - log(x).

In AngelScriptAPI.h i have not found log(x) function.

question.

How i can bound log(x) function to AS ?

Thanks.

I need to use logarithmic function of x - log(x).

In AngelScriptAPI.h i have not found log(x) function.

question.

How i can bound log(x) function to AS ?

Thanks.

I have solved the problem.

I added following lines:

1)MathDefs.h

```
/// Return base e logarithm of a X number
template <class T>
inline T Ln(T x) { return log(x); }
template <> inline float Ln<float>(float x) { return log(x); }
```

(note. log(x) function is included from math.h header)

2)MathAPI.cpp

3)AngelScriptAPI.h