</> HitReader
Blog Explore About

Tag: #floating point

Turns Are Better Than Radians: A Practical Way to Stop Wasting Pi
programming Aug 20, 2026 6 min read

Turns Are Better Than Radians: A Practical Way to Stop Wasting Pi

Most trig APIs take radians, so code often multiplies by TAU (2π) just to call sin() and cos(). Representing angles in turns (1 = a full circle) keeps units consistent, reduces pointless conversions, and can improve floating-point exactness for common angles like quarter-turns.

by ahsan
#floating point #game-dev #math #performance #programming
Math.tanh OS Fingerprinting After Chromium 148: The Floating-Point Trap
web security & privacy Jul 13, 2026 5 min read

Math.tanh OS Fingerprinting After Chromium 148: The Floating-Point Trap

A small V8 change switched `Math.tanh` from a bundled implementation to `std::tanh`, which routes through the host math library. Because transcendental functions can differ by tiny floating-point rounding details, `Math.tanh` can reveal the underlying OS environment after Chromium 148-era updates.

by ahsan
#browser security #chromium #fingerprinting #floating point #v8

Categories

  • machine learning
  • software engineering
  • cybersecurity
  • artificial intelligence
  • embedded systems
  • systems programming
  • web development
  • llm engineering
Explore all →

Tags

#llm #privacy #open-source #ai #rust #cybersecurity #linux #security #machine learning #ai agents #web development #javascript
Explore all →

© 2026 HitReader.

About Explore Terms Privacy Facebook