summaryrefslogtreecommitdiff
path: root/libc/test/src/math/smoke/bfloat16_div_test.cpp
blob: c1ab598df0608ac741d1540be8c591d5c87faf01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//===-- Unittests for bfloat16 division -----------------------------------===//
//
// 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 "DivTest.h"

#include "src/__support/FPUtil/bfloat16.h"

static bfloat16 div_func(bfloat16 x, bfloat16 y) { return x / y; }

LIST_DIV_TESTS(bfloat16, bfloat16, div_func)