llvm/compiler-rt/lib/builtins/i386/fp_mode.c

//===----- lib/i386/fp_mode.c - Floaing-point mode utilities -----*- C -*-====//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "../fp_mode.h"

#define X87_TONEAREST
#define X87_DOWNWARD
#define X87_UPWARD
#define X87_TOWARDZERO
#define X87_RMODE_MASK

CRT_FE_ROUND_MODE __fe_getround(void) {}

int __fe_raise_inexact(void) {}