m-labs / artiq

A leading-edge control system for quantum information experiments
https://m-labs.hk/artiq
GNU Lesser General Public License v3.0
415 stars 193 forks source link

firmware/ksupport: add rint api #2475

Closed AR-PyT closed 2 weeks ago

AR-PyT commented 2 weeks ago

ARTIQ Pull Request

Description of Changes

Added libm rint api (279e5f6abe/src/math/mod.rs (L173)) which supports np.round and np.rint operations.

Related Issue

M-Labs/nac3#396

## Type of Changes
Type
:bug: Bug fix

Steps (Choose relevant, delete irrelevant before submitting)

All Pull Requests

Licensing

See copyright & licensing for more info. ARTIQ files that do not contain a license header are copyrighted by M-Labs Limited and are licensed under LGPLv3+.