Mercurial > mxe-octave
view src/build-msvctools/math/lrintf.c @ 6161:8fcac4d6d983 release
of-queueing: Fix syntax error with Octave 7 (bug #62314).
* src/of-queueing-1-octave7.patch: Add new file.
* dist-files.mk: Include new patch.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 14 Apr 2022 19:27:13 +0200 |
parents | f8299bb6c872 |
children |
line wrap: on
line source
#include <math.h> long lrintf (float x) { long retval; __asm__ __volatile__ \ ("fistpl %0" : "=m" (retval) : "t" (x) : "st"); \ return retval; }