Subject: Re: libc arch/*/gen cleanup
To: Simon Burge <simonb@wasabisystems.com>
From: Klaus Klein <kleink@reziprozitaet.de>
List: tech-userlevel
Date: 10/27/2001 11:28:35
Simon Burge <simonb@wasabisystems.com> writes:

> 	/* bytes for quiet NaN (IEEE single precision) */
> 	const char __nanf[] __attribute__((__aligned__(__alignof__(single)))) =

Presumably you mean 'float' here. :-) BTW, I've also thought of
solving this in a more portable way, i.e. making this a union
consisting of float-type and char.

> To stop any hassles with finding the correct version, was thinking of
> adding version in libc/gen all with "gen_" prefixes.
> 
> Anyone see any problems with this?

Conceptually fine with me; however, how about ieee754_ as the prefix,
which seems more appropriate?


- Klaus