1b6e41c15SPetr Hosek //===-- Implementation of isnanl function ---------------------------------===// 2b6e41c15SPetr Hosek // 3b6e41c15SPetr Hosek // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4b6e41c15SPetr Hosek // See https://llvm.org/LICENSE.txt for license information. 5b6e41c15SPetr Hosek // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6b6e41c15SPetr Hosek // 7b6e41c15SPetr Hosek //===----------------------------------------------------------------------===// 8b6e41c15SPetr Hosek 9b6e41c15SPetr Hosek #include "src/math/isnanl.h" 10b6e41c15SPetr Hosek #include "src/__support/common.h" 11*5ff3ff33SPetr Hosek #include "src/__support/macros/config.h" 12b6e41c15SPetr Hosek 13*5ff3ff33SPetr Hosek namespace LIBC_NAMESPACE_DECL { 14b6e41c15SPetr Hosek 15b6e41c15SPetr Hosek LLVM_LIBC_FUNCTION(int, isnanl, (long double x)) { return __builtin_isnan(x); } 16b6e41c15SPetr Hosek 17*5ff3ff33SPetr Hosek } // namespace LIBC_NAMESPACE_DECL 18