File: integer.sb

package info (click to toggle)
python-pyglm 2.8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,008 kB
  • sloc: cpp: 53,029; python: 3,683; makefile: 7
file content (27 lines) | stat: -rw-r--r-- 1,641 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
\c\This file was generated using a tool\c\
\h1\integer methods\h1\
The following methods are all part of the \b\integer methods\b\.
Contains two different rounding methods.
\h2\Table of contents\h2\
\ul\
\-\\url #iround-function\\b\iround\b\ function\url\
\-\\url #uround-function\\b\uround\b\ function\url\
\ul\
\h3\iround() function\h3\
\raw\#### <code>glm.<code>**iround**(**x**: *number*) -\\> *int*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns a value equal to the nearest integer to \code\x\code\. The fraction \code\0.5\code\ will round in a
\raw\&emsp;&emsp;\raw\direction chosen by the implementation, presumably the direction that is fastest.

\raw\#### <code>glm.<code>**iround**(**x**: *vecN*) -\\> *ivecN*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns a value equal to the nearest integer to \code\x\code\. The fraction \code\0.5\code\ will round in a
\raw\&emsp;&emsp;\raw\direction chosen by the implementation, presumably the direction that is fastest.

\h3\uround() function\h3\
\raw\#### <code>glm.<code>**uround**(**x**: *number*) -\\> *int*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns a value equal to the nearest integer to \code\x\code\. The fraction \code\0.5\code\ will round in a
\raw\&emsp;&emsp;\raw\direction chosen by the implementation, presumably the direction that is fastest.

\raw\#### <code>glm.<code>**uround**(**x**: *vecN*) -\\> *uvecN*</code></code>\raw\
\raw\&emsp;&emsp;\raw\Returns a value equal to the nearest integer to \code\x\code\. The fraction \code\0.5\code\ will round in a
\raw\&emsp;&emsp;\raw\direction chosen by the implementation, presumably the direction that is fastest.