Home
last modified time | relevance | path

Searched refs:y (Results 1 – 16 of 16) sorted by relevance

/DragonOS-0.1.8/kernel/src/common/math/
Dround.c21 double y; in round() local
33 y = x + toint - toint - x; in round()
34 if (y > 0.5) in round()
35 y = y + x - 1; in round()
36 else if (y <= -0.5) in round()
37 y = y + x + 1; in round()
39 y = y + x; in round()
41 y = -y; in round()
42 return y; in round()
Dpow.c4 int64_t pow(int64_t x, int y) in pow() argument
6 if (y == 0) in pow()
8 if (y == 1) in pow()
10 if (y == 2) in pow()
13 while (y != 0) in pow()
15 if (y & 1) in pow()
17 y >>= 1; in pow()
/DragonOS-0.1.8/user/libs/libc/src/math/
Dround.c19 double y; in round() local
31 y = x + toint - toint - x; in round()
32 if (y > 0.5) in round()
33 y = y + x - 1; in round()
34 else if (y <= -0.5) in round()
35 y = y + x + 1; in round()
37 y = y + x; in round()
39 y = -y; in round()
40 return y; in round()
Dpow.c4 int64_t pow(int64_t x, int y) in pow() argument
7 for (int i = 0; i < y; ++i) in pow()
/DragonOS-0.1.8/kernel/src/common/
Dglib.h43 #define max(x, y) ((x > y) ? (x) : (y)) argument
44 #define min(x, y) ((x < y) ? (x) : (y)) argument
Dmath.h10 int64_t pow(int64_t x, int y);
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/
Dmath.md21 ``int64_t pow(int64_t x,int y)`` 返回 x 的 y 次方
/DragonOS-0.1.8/tools/
DDockerfile16 …\).debian.org@http://mirrors.ustc.edu.cn@g" /etc/apt/sources.list && apt update && apt install -y \
26 RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y && \
47 RUN apt-get autoremove -q -y && \
48 apt-get clean -q -y && \
Dcreate_hdd_image.sh33 y
/DragonOS-0.1.8/docs/community/code_contribution/
Dthe-development-process.md33 …一个更新版本。由于开发人员数量仍然较少,因此,目前这个时间是21天。我们将版本号定义为`x.y.z`的格式,每21天发布一个`z`版本. 在积累了2~3个月后,当DragonOS引入了足够的新功能…
35 …;创建没有BUG的、具有尽可能少BUG的代码,是每个开发者的目标之一。我们希望在每个`y`版本发布时,能够修复已知的问题。然而,由于在操作系统中,影响问题的变量太多了,以至于我们只能尽全力去减少B…
/DragonOS-0.1.8/user/libs/libc/src/include/export/
Dmath.h16 int64_t pow(int64_t x, int y);
/DragonOS-0.1.8/kernel/src/libs/libUI/
Dtextui-render.c131 uint32_t y = actual_line * TEXTUI_CHAR_HEIGHT; in __textui_render_chromatic() local
138 addr = (uint32_t *)(fb + textui_framework.buf->width * (y + i) + x); in __textui_render_chromatic()
/DragonOS-0.1.8/user/port/binutils/2.38/
DDockerfile6 RUN apt-get update && apt-get install -y \
/DragonOS-0.1.8/docs/introduction/
Dbuild_system.md102 sudo apt install -y autoconf automake autotools-dev curl libmpc-dev libmpfr-dev libgmp-dev \
176 sudo apt install -y qemu qemu-system qemu-kvm
/DragonOS-0.1.8/kernel/src/libs/
Drbtree.rs1024 let mut y = NodePtr::null(); in insert() localVariable
1028 y = x; in insert()
1038 node.set_parent(y); in insert()
1040 if y.is_null() { in insert()
1043 match node.cmp(&&mut y) { in insert()
1045 y.set_left(node); in insert()
1048 y.set_right(node); in insert()
/DragonOS-0.1.8/docs/community/ChangeLog/V0.1.x/
DV0.1.3.md404 - apt安装时增加-y,不需用户确认