while looking to the source codes, I have noticed some interesting points when reading the sources of the Bladerunner engine. However, this could be applied to many other engines that use floating point math.

Well, let't take this example:

Code: Select all

```
float x = <some calculations>
float y = sin(x);
```

Code: Select all

```
float x = <some calculations>
float y = sinf(x);
```

While this calculation:

Code: Select all

```
float y = sinf(x);
```

Code: Select all

```
float y = sin(x);
```

The use of float math requires C99 compliant library math, but it seems that's not a problem since configure script also allows to activate C++11.

Actually, the float math functions are already used inside SCUMMVM, but just in one engine.

So, using them in other points, especially in a complex game like Bladerunner, can give some visible improvements in terms of performances.

Developers, what do you think?

Thank you very much for your time.

Sincerely.