overall, using LongInt for leftX/rightX results in fewer casts, since most comparisons are against ints.
[package]
name = "integral-geometry"
version = "0.1.0"
authors = ["Andrey Korotaev <a.korotaev@hedgewars.org>"]
edition = "2018"
[dependencies]
fpnum = { path = "../fpnum" }