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

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

static bfloat16 mul_func(bfloat16 x, bfloat16 y) { return x * y; }

LIST_MUL_TESTS(bfloat16, bfloat16, mul_func)