brintos

brintos / llvm-project-archived public Read only

0
0
Text · 549 B · c1ab598 Raw
16 lines · cpp
1//===-- Unittests for bfloat16 division -----------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#include "DivTest.h"10 11#include "src/__support/FPUtil/bfloat16.h"12 13static bfloat16 div_func(bfloat16 x, bfloat16 y) { return x / y; }14 15LIST_DIV_TESTS(bfloat16, bfloat16, div_func)16