SIGN IN SIGN UP

Move c10/util math helper headers into torch/headeronly (#194673)

## Summary
- Move `MathConstants.h`, `copysign.h`, `Load.h`, `BFloat16-math.h`, and `irange.h` from `c10/util` into `torch/headeronly/util` under `torch::headeronly`.
- Leave the old `c10/util` paths as one-line forwarding includes, matching `Half.h` / `BFloat16.h`.
- Register the new symbols in `torch/header_only_apis.txt` and add header-only aoti_abi_check tests (`copysign`, `irange`, `load`, `MathConstants`, plus `is_reduced_floating_point` coverage in `test_math.cpp`).

This is the first leaf-utilities PR toward moving `aten/src/ATen/native/Math.h` and its dependency chain into headeronly.

see https://github.com/pytorch/pytorch/pull/194673/changes/1bf583b0c09259f98d88a6c6d9e3a1b216122070 for the updated headeronly diffs.

## Test plan
  - `TestCopysign.*`
  - `TestIrange.*`
  - `TestLoad.*`
  - `TestMathConstants.*`
  - `TestMath.TestIsReducedFloatingPoint`

## Test Results
Passed

Pull Request resolved: https://github.com/pytorch/pytorch/pull/194673
Approved by: https://github.com/janeyx99
C
Chris Leonard committed
14780aaa3ad92d063f64fde1a0e017239164e97b
Parent: 5e4da85
Committed by PyTorch MergeBot <pytorchmergebot@users.noreply.github.com> on 8/26/2026, 2:05:31 AM