Flutter Engine
The Flutter Engine
third_party
skia
modules
bentleyottmann
include
Int96.h
Go to the documentation of this file.
1
// Copyright 2023 Google LLC
2
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
3
4
#ifndef Int96_DEFINED
5
#define Int96_DEFINED
6
7
#include <cstdint>
8
9
namespace
bentleyottmann
{
10
struct
Int96
{
11
int64_t
hi
;
12
uint32_t
lo
;
13
14
static
Int96
Make
(int32_t
a
);
15
static
Int96
Make
(int64_t
a
);
16
};
17
bool
operator==
(
const
Int96
&
a
,
const
Int96
&
b
);
18
bool
operator<
(
const
Int96
&
a
,
const
Int96
&
b
);
19
Int96
operator+
(
const
Int96
&
a
,
const
Int96
&
b
);
20
Int96
multiply
(int64_t
a
, int32_t
b
);
21
Int96
multiply
(int32_t
a
, int64_t
b
);
22
23
24
}
// namespace bentleyottmann
25
#endif
// Int96_DEFINED
b
static bool b
Definition:
ffi_native_test_module.c:74
a
struct MyStruct a[10]
bentleyottmann
Definition:
BentleyOttmann1.h:12
bentleyottmann::operator<
bool operator<(const Int96 &a, const Int96 &b)
Definition:
Int96.cpp:23
bentleyottmann::operator+
Int96 operator+(const Int96 &a, const Int96 &b)
Definition:
Int96.cpp:27
bentleyottmann::multiply
Int96 multiply(int64_t a, int32_t b)
Definition:
Int96.cpp:41
bentleyottmann::operator==
bool operator==(const Int96 &a, const Int96 &b)
Definition:
Int96.cpp:19
bentleyottmann::Int96
Definition:
Int96.h:10
bentleyottmann::Int96::Make
static Int96 Make(int32_t a)
Definition:
Int96.cpp:11
bentleyottmann::Int96::lo
uint32_t lo
Definition:
Int96.h:12
bentleyottmann::Int96::hi
int64_t hi
Definition:
Int96.h:11
Generated on Sun Jun 23 2024 21:56:04 for Flutter Engine by
1.9.4