- Timestamp:
- Nov 21, 2018, 9:21:49 PM (6 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
- Children:
- 08db885
- Parents:
- 313eb2b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/requirements.rst
r313eb2b r8924bdf 303 303 ................ 304 304 305 The datatype used to store real numbers in aubio is named `smpl_t`. By default, 306 `smpl_t` is defined as `float`, a `single-precision format 307 <https://en.wikipedia.org/wiki/Single-precision_floating-point_format>`_ 308 (32-bit). Some algorithms require a floating point representation with a 309 higher precision, for instance to prevent arithmetic underflow in recursive 310 filters. In aubio, these special samples are named `lsmp_t` and defined as 311 `double` by default (64-bit). 312 313 Sometimes it may be useful to compile aubio in `double-precision`, for instance 314 to reproduce numerical results obtained with 64-bit routines. In this case, 315 `smpl_t` will be defined as `double`. 316 317 The following table shows how `smpl_t` and `lsmp_t` are defined in single- and 318 double-precision modes: 319 320 .. list-table:: Single and double-precision modes 321 :align: center 322 323 * - 324 - single 325 - double 326 * - `smpl_t` 327 - ``float`` 328 - ``double`` 329 * - `lsmp_t` 330 - ``double`` 331 - ``long double`` 332 305 333 To compile aubio in double precision mode, configure with ``--enable-double``. 306 334 307 To compile aubio in single precision mode, use ``--disable-double`` (default,308 recommended).335 To compile in single-precision mode (default), use ``--disable-double`` (or 336 simply none of these two options). 309 337 310 338 Disabling the tests
Note: See TracChangeset
for help on using the changeset viewer.