Table of Contents

Class IEEE

Namespace
NAudio.Utils
Assembly
NAudio.Core.dll

Methods for converting between IEEE 80-bit extended double precision and standard C# double precision.

public static class IEEE
Inheritance
IEEE
Inherited Members

Methods

ConvertFromIeeeExtended(byte[])

Converts an IEEE 80-bit extended precision number to a C# double precision number.

public static double ConvertFromIeeeExtended(byte[] bytes)

Parameters

bytes byte[]

The 80-bit IEEE extended number (as an array of 10 bytes).

Returns

double

A C# double precision number that is a close representation of the IEEE extended number.

ConvertToIeeeExtended(double)

Converts a C# double precision number to an 80-bit IEEE extended double precision number (occupying 10 bytes).

public static byte[] ConvertToIeeeExtended(double num)

Parameters

num double

The double precision number to convert to IEEE extended.

Returns

byte[]

An array of 10 bytes containing the IEEE extended number.