blob: 0f4c057099daaf30a4d03e61089137501b085fa1 [file] [log] [blame]
//===-- Unittests for uksqrtui --------------------------------------------===//
//
// 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 "ISqrtTest.h"
#include "src/__support/fixed_point/sqrt.h"
#include "src/stdfix/uksqrtui.h"
unsigned accum uksqrtui_fast(unsigned int x) {
return LIBC_NAMESPACE::fixed_point::isqrt_fast(x);
}
LIST_ISQRT_TESTS(UI, unsigned int, LIBC_NAMESPACE::uksqrtui);
LIST_ISQRT_TESTS(UIFast, unsigned int, uksqrtui_fast);