2021-05-26 00:09:36 -07:00
|
|
|
// Copyright (c) FIRST and other WPILib contributors.
|
|
|
|
|
// Open Source Software; you can modify and/or share it under the terms of
|
|
|
|
|
// the WPILib BSD license file in the root directory of this project.
|
2019-07-31 22:15:22 -07:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2021-05-26 00:09:36 -07:00
|
|
|
#include "wpi/numbers"
|
2019-07-31 22:15:22 -07:00
|
|
|
|
2021-05-26 00:09:36 -07:00
|
|
|
// clang-format off
|
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
|
#pragma message("warning: Use <wpi/numbers> and wpi::numbers instead to reflect C++20 <numbers> and std::numbers")
|
|
|
|
|
#else
|
|
|
|
|
#warning "Use <wpi/numbers> and wpi::numbers instead to reflect C++20 <numbers> and std::numbers"
|
|
|
|
|
#endif
|
2019-07-31 22:15:22 -07:00
|
|
|
|
2021-05-26 00:09:36 -07:00
|
|
|
// clang-format on
|
2019-07-31 22:15:22 -07:00
|
|
|
|
2021-05-26 00:09:36 -07:00
|
|
|
namespace wpi::math {
|
|
|
|
|
using namespace wpi::numbers;
|
2019-07-31 22:15:22 -07:00
|
|
|
} // namespace wpi::math
|