What standart PowerBasic uses in floating point arithmetic?

I ask this, because, wend I do some calculation with doubles, the results are very differents from the results in C and JavaScript.

The results in C are equal to JavaSript.

The only manual reference to IEEE Standart is:

FRAC function

Purpose

Return the fractional part of a number.

Syntax

h = FRAC(float_expression)

Remarks

FRAC returns the number after the decimal point of a floating-point number or expression. FRAC rounds the result of fit the precision of the target h, as per IEEE specifications.

See also

CEIL, CINT, FIX, INT, ROUND

Example

h# = FRAC(10.25#) ' = 0.25# (Double-precision)

And this donot give identical values in confront to C or JavaScript. Why?

Thanks

I ask this, because, wend I do some calculation with doubles, the results are very differents from the results in C and JavaScript.

The results in C are equal to JavaSript.

The only manual reference to IEEE Standart is:

FRAC function

Purpose

Return the fractional part of a number.

Syntax

h = FRAC(float_expression)

Remarks

FRAC returns the number after the decimal point of a floating-point number or expression. FRAC rounds the result of fit the precision of the target h, as per IEEE specifications.

See also

CEIL, CINT, FIX, INT, ROUND

Example

h# = FRAC(10.25#) ' = 0.25# (Double-precision)

And this donot give identical values in confront to C or JavaScript. Why?

Thanks

## Comment