[b][red]This message was edited by Gregry2 at 2006-1-20 4:3:37[/red][/b][hr]
Man, I think I need a good reference...
empty unions/structs are legal I know in C++, however, they aren't in ANSI C, are they? Only in C99, correct? Grrr....
EDIT: I need a function that can be like strtod, but for FLOATs only...see, I have a union type that is a union of a long, two pointers, and a float. All make the size of the union to simply be 4 on the x86.
Well, I have to go through alot, but basically, I'd need to reduce the percision to a `single' as they call it. I just need the checking for the function like strtod() to put ERANGE on errno not when its outside the range of a double, but a float.