mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
24 lines
717 B
C
24 lines
717 B
C
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
|
|
|
|
#pragma once
|
|
#ifndef WINRT_Windows_Foundation_Numerics_2_H
|
|
#define WINRT_Windows_Foundation_Numerics_2_H
|
|
#include "winrt/impl/Windows.Foundation.Numerics.1.h"
|
|
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
|
|
{
|
|
struct Rational
|
|
{
|
|
uint32_t Numerator;
|
|
uint32_t Denominator;
|
|
};
|
|
inline bool operator==(Rational const& left, Rational const& right) noexcept
|
|
{
|
|
return left.Numerator == right.Numerator && left.Denominator == right.Denominator;
|
|
}
|
|
inline bool operator!=(Rational const& left, Rational const& right) noexcept
|
|
{
|
|
return !(left == right);
|
|
}
|
|
}
|
|
#endif
|