1 //===-- lib/negsf2.c - single-precision negation ------------------*- C -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements single-precision soft-float negation.
12 //===----------------------------------------------------------------------===//
14 #define SINGLE_PRECISION
17 fp_t __negsf2(fp_t a) {
18 return fromRep(toRep(a) ^ signBit);