This issue were seen on Android.
Many libs and apps will depend on STLPort.
We want to know whether it will be fixed in future release.
Currently, we have a patch to fix the issue with long long type.
But for short type, huge revision may be needed.

On Mon, Jun 3, 2013 at 2:02 PM, Petr Ovtchenkov <> wrote:
On Fri, 31 May 2013 09:54:06 +0800
Chenyang <> wrote:

> ...
> An issue with the stlport library has been found. The string conversion to
> long long or short does not have the expected behavior.

The operations related to numbers representation isn't perfect in STLport.

The facility of 'small simple fixes' was exhausted in this area.

The key point is incorporation of a library with implementation of
abitrary (well, may be not abitrary..., but 'enough') precision
rational arithmetic.

Possible ways are:

  - implement such library within STLport project

  - use well-designed library (GMP/MPFR/etc.)

  - us not well-known library (what?)

In any case, numeric representation code require deep revision.


  - ptr

Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
stlport-bugs mailing list