Change-Id: I15dd34cd4a5068894155bac33a8ada58d35fcfca
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/19015
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
IP-Clean: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Tested-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
private static double readRawFloat64(BitBuffer input, final int manBits,
final int expBits) throws CTFReaderException {
- long low = input.get(32, false);
- low = low & 0x00000000FFFFFFFFL;
- long high = input.get(32, false);
- high = high & 0x00000000FFFFFFFFL;
- long temp = (high << 32) | low;
+ long temp = input.get(64, false);
return createFloat(temp, manBits - 1, expBits);
}