Path: blob/main/lib/libc/softfloat/templates/milieu.h
39536 views
1/*2===============================================================================34This C header file is part of the SoftFloat IEC/IEEE Floating-point5Arithmetic Package, Release 2a.67Written by John R. Hauser. This work was made possible in part by the8International Computer Science Institute, located at Suite 600, 1947 Center9Street, Berkeley, California 94704. Funding was partially provided by the10National Science Foundation under grant MIP-9311980. The original version11of this code was written as part of a project to build a fixed-point vector12processor in collaboration with the University of California at Berkeley,13overseen by Profs. Nelson Morgan and John Wawrzynek. More information14is available through the Web page `http://HTTP.CS.Berkeley.EDU/~jhauser/15arithmetic/SoftFloat.html'.1617THIS SOFTWARE IS DISTRIBUTED AS IS, FOR FREE. Although reasonable effort18has been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT19TIMES RESULT IN INCORRECT BEHAVIOR. USE OF THIS SOFTWARE IS RESTRICTED TO20PERSONS AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ANY21AND ALL LOSSES, COSTS, OR OTHER PROBLEMS ARISING FROM ITS USE.2223Derivative works are acceptable, even for commercial purposes, so long as24(1) they include prominent notice that the work is derivative, and (2) they25include prominent notice akin to these four paragraphs for those parts of26this code that are retained.2728===============================================================================29*/3031/*32-------------------------------------------------------------------------------33Include common integer types and flags.34-------------------------------------------------------------------------------35*/36#include "../../../processors/!!!processor.h"3738/*39-------------------------------------------------------------------------------40Symbolic Boolean literals.41-------------------------------------------------------------------------------42*/43enum {44FALSE = 0,45TRUE = 146};47484950