Uses of "float:16" ?

M.J.Shannon mjs at sfmag.UUCP
Wed Oct 9 15:44:22 AEST 1985


>>>Then you can define
>>>
>>>float foo:16;
>>>
>>>if you really think you can do something useful with 16-bit floats. Someone
>>>must use them for something...
>>
>>Just such a construct is used in the accounting software in many UNIX System
>>kernels.  It seems to suffice for the application.
>
>Great, a violation of the C language spec in the kernel.

Sorry, I didn't mean to imply that the syntactic construct is used, rather that
a 16-bit quantity is used to represent some floating point values.  I believe
the exponent is 3 bits.
-- 
	Marty Shannon
UUCP:	ihnp4!attunix!mjs
Phone:	+1 (201) 522 6063
Disclaimer: I speak for no one.



More information about the Comp.lang.c mailing list