Retail Predictive Application Server (MOSC)

MOSC Banner

RPAS round function vs Java Math.round

edited Jun 13, 2015 10:02AM in Retail Predictive Application Server (MOSC) 2 commentsAnswered

Hi all,

RPAS version 13.4.1.11.1 and JDK 1.6.0_38 (64 bit)

RPAS is using Boost library for many functions and round is one of them. I could see in C++ template for round is using floats for rounding the numbers.

I was going through the config guide provided with config tool and found that data Type Real is Floating point numeric values and not Double .

Real measures have a range of 1.7E +/- 308 (15 digits) which is eight bytes.

  [-1.7976931348623e+308:1.7976931348623e+308]

  • When running printMeasure, it gives the range of the measure. However, internally in the arrays, the integer and real data are stored as Numeric type which is eight bytes long.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center