We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd560e0 commit de54c37Copy full SHA for de54c37
swiftnav/src/math.rs
@@ -1,3 +1,13 @@
1
+// Copyright (c) 2025 Swift Navigation Inc.
2
+// Contact: Swift Navigation <[email protected]>
3
+//
4
+// This source is subject to the license found in the file 'LICENSE' which must
5
+// be be distributed together with this source. All other rights reserved.
6
7
+// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
8
+// EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
9
+// WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
10
+
11
/// We define a `const` max function since [`std::cmp::max`] isn't `const`
12
pub(crate) const fn compile_time_max_u16(a: u16, b: u16) -> u16 {
13
if b < a {
0 commit comments