Single field and Double field Float

Imported from previous forum

What is the best way to specify Single field float and Double field float in FAST template?

The single field scaled decimal as defined in FAST 1.0 is deprecated. The most interoperable way of specifying a decimal number is by using the decimal type of FAST 1.1. In the template you’d specify

The decimal type in FAST 1.1 is encoded as two sbit entities, the exponent followed by the mantissa.

/David

What is the best way to specify Single field float and Double field
float in FAST template?

In that case how many bits are allocated in presence map for a single decimal field (FAST 1.1)?

The single field scaled decimal as defined in FAST 1.0 is deprecated.

The most interoperable way of specifying a decimal number is by using
the decimal type of FAST 1.1. In the template you’d specify

The decimal type in FAST 1.1 is encoded as two sbit entities, the
exponent followed by the mantissa.

/David

What is the best way to specify Single field float and Double field
float in FAST template?

Depending on the use of operators you may end up with zero, one or two bits for a decimal field.

You may find it helpful digging through the following discussion thread:

http://www.fixprotocol.org/discuss/read/7a9d38be

/David

In that case how many bits are allocated in presence map for a single
decimal field (FAST 1.1)?

The single field scaled decimal as defined in FAST 1.0 is deprecated.

The most interoperable way of specifying a decimal number is by using
the decimal type of FAST 1.1. In the template you’d specify

The decimal type in FAST 1.1 is encoded as two sbit entities, the
exponent followed by the mantissa.

/David

What is the best way to specify Single field float and Double field
float in FAST template?