quaeratin
Version:
An extended precision floating point library (as per Shewchuk) - precision only limited by overflow / underflow
12 lines (11 loc) • 340 B
TypeScript
/**
* Returns true if x and y are adjacent, false otherwise.
*
* * see [Shewchuk](https://people.eecs.berkeley.edu/~jrs/papers/robustr.pdf)
* for details
*
* @param x a double floating point number
* @param y another double floating point number
*/
declare function isAdjacent(x: number, y: number): boolean;
export { isAdjacent };