///|
test "classify a left turn" {
let determinant = orient2d(
@type.Coord(0.0, 0.0),
@type.Coord(1.0, 0.0),
@type.Coord(0.0, 1.0),
)
@test.assert_eq(determinant > 0.0, true)
}fn two_one_product(a1 : Double, a0 : Double, b : Double) -> (Double, Double, Double, Double)fn two_product_presplit(a : Double, b : Double, bhi : Double, blo : Double) -> (Double, Double)fn two_two_diff(a1 : Double, a0 : Double, b1 : Double, b0 : Double) -> (Double, Double, Double, Double)fn two_two_sum(a1 : Double, a0 : Double, b1 : Double, b0 : Double) -> (Double, Double, Double, Double)Install
Download zipMoonBit port of georust/geo: 2D planar geospatial primitives and algorithms