DragonFly submit List (threaded) for 2008-04
DragonFly BSD
DragonFly submit List (threaded) for 2008-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: float_t and double_t (C99)


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Apr 2008 07:30:18 -0700 (PDT)

:If you say so ... :)
:
:And there comes a second problem - I'd bring in stuff for amd64 as well 
:then, but where to put typedefs so that math.h can pick this up? 
:sys/cpu/xxx/include/math.h? AFAICS FLT_EVAL_METHOD define has to go into 
:sys/cpu/xxx/include/float.h.
:
:-- 
:Hasso Tepper

    <machine/xxx.h> translates to cpu/blah/include/xxx.h or
    platform/blah/include/xxx.h.  platform headers override
    cpu headers from the point of view of userland's use of
    <machine/xxx.h>, but internally a platform header can
    directly reference underlying cpu headers.

    A little weird but it works.  If you look at /usr/include/machine/*.h
    you can see the result.  Some of the header came from the platform
    code and some came directly from the cpu code.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]