🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #7862

Re: Microsoft Binary Format

#7862
From: Falstaff
Date: Mon, 21 Aug 1995 16:36
29 lines
1564 bytes
merkel@dolphin.upenn.edu (Fred Charles Merkel) writes:


>I just received a huge chunk of data in "Microsoft Binary Format".  The
>data are in four byte words, but they don't seem to correspond to normal
>floats or ints.  

>Does anyone know what MBF is or can anyone give me some pointers to finding
>out more?

Aahh, yes, another mickeysoft 'standard'.
From the masm manual:
	31..24 exponent
	23 sign
	22..0 mantissa

The three parts of real numbers are described below
1.	Biased exponent (8 bits) in the high-address byte.  Bias is 81h
2.	Sign bit is 0 for positive 1 for negative
3.	All except the first set bit of mantissa in the remainting 7 bits
	of the second-highest byte and in the remaining bytes of the variable.

Even MS decided to drop this format, as it is incompatible with anything
you may find in the real world (if MS programmers ever get there...)

Frank
-- 
------------------------------------------------------------------------
Frank A. Vorstenbosch        +31-(70)-355 5241        falstaff@xs4all.nl
Technical Details
Message-ID: <41acmo$h22@news.xs4all.nl>
Path: arc1-ca.pugleaf.net!EU.net!sun4nl!xs4all!falstaff
References: <41a5ft$hfi@netnews.upenn.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!EU.net!sun4nl!xs4all!falstaff
From: falstaff@xs4all.nl (Falstaff)
Newsgroups: comp.os.msdos.programmer,comp.os.msdos.misc,comp.os.ms-windows.programmer,comp.lang.c,comp.lang.pascal
Subject: Re: Microsoft Binary Format
Date: 21 Aug 1995 16:36:40 GMT
Organization: XS4ALL, networking for the masses
Message-ID: <41acmo$h22@news.xs4all.nl>
References: <41a5ft$hfi@netnews.upenn.edu>
NNTP-Posting-Host: xs1.xs4all.nl
X-Newsreader: NN version 6.5.0 #666 (NOV)
X-Posted-By: falstaff@xs1.xs4all.nl