tailscale/types
Amal Bansode 8fd02bb626
types/geo: fix floating point bug causing NaN returns in SphericalAngleTo (#18777)
Subtle floating point imprecision can propagate and lead to
trigonometric functions receiving inputs outside their
domain, thus returning NaN. Clamp the input to the valid domain
to prevent this.

Also adds a fuzz test for SphericalAngleTo.

Updates tailscale/corp#37518

Signed-off-by: Amal Bansode <amal@tailscale.com>
2026-03-02 17:33:57 -08:00
..
appctype appc,feature/conn25,net: Add DNS response interception for conn25 2026-02-20 07:43:37 -08:00
bools all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
dnstype all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
empty all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
flagtype all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
geo types/geo: fix floating point bug causing NaN returns in SphericalAngleTo (#18777) 2026-03-02 17:33:57 -08:00
iox all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
ipproto all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
jsonx all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
key all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
lazy all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
logger all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
logid all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
mapx all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
netlogfunc all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
netlogtype all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
netmap ipn/ipnlocal/netmapcache: add a package to split and cache network maps (#18497) 2026-01-26 14:55:30 -08:00
nettype all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
opt all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
persist all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
prefs all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
preftype all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
ptr all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
result all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
structs all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tkatype all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
views all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00