![]() |
GNSS-SDR
0.0.19
An Open Source GNSS Software Defined Receiver
|
Common definitions used throughout the libswiftnav library. More...
#include <inttypes.h>#include <stdbool.h>#include <stdint.h>Go to the source code of this file.
Macros | |
| #define | ABS(x) ((x) < 0 ? -(x) : (x)) |
| #define | MIN(x, y) (((x) < (y)) ? (x) : (y)) |
| #define | MAX(x, y) (((x) > (y)) ? (x) : (y)) |
| #define | CLAMP_DIFF(a, b) (MAX((a), (b)) - (b)) |
Common definitions used throughout the libswiftnav library.
This file was originally borrowed from libswiftnav https://github.com/swift-nav/libswiftnav, a portable C library implementing GNSS related functions and algorithms, and then modified by J. Arribas and C. Fernandez
Copyright (C) 2012 Swift Navigation Inc. Contact: Henry Hallam henry@swift-nav.com Fergus Noble fergus@swift-nav.com
SPDX-License-Identifier: LGPL-3.0-only
Definition in file swift_common.h.
1.8.14