musl - musl - an implementation of the standard library for Linux-based systems
index
:
musl
master
rs-1.0
musl - an implementation of the standard library for Linux-based systems
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
stdlib
/
llabs.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'src/stdlib/llabs.c')
-rw-r--r--
src/stdlib/llabs.c
4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stdlib/llabs.c b/src/stdlib/llabs.c
new file mode 100644
index 00000000..bec4a03d
--- /dev/null
+++ b/
src/stdlib/llabs.c
@@ -0,0 +1,4 @@
+long long llabs(long long a)
+{
+ return a>0 ? a : -a;
+}
generated by
cgit v1.2.1
(
git 2.18.0
) at 2025年09月10日 17:11:59 +0000
AltStyle
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル