Home
last modified time | relevance | path

Searched refs:num (Results 1 – 15 of 15) sorted by relevance

/picolibc-3.7.0-3.6.0/newlib/libc/machine/w65/
Ddivsi3.c18 #define divnorm(num, den, sign) \ argument
20 if (num < 0) \
22 num = -num; \
42 divmodsi4(int modwanted, unsigned long num, unsigned long den) in divmodsi4() argument
47 while (den < num && bit && !(den & (1L<<31))) in divmodsi4()
54 if (num >= den) in divmodsi4()
56 num -= den; in divmodsi4()
62 if (modwanted) return num; in divmodsi4()
/picolibc-3.7.0-3.6.0/newlib/libc/machine/h8500/
Ddivsi3.c18 #define divnorm(num, den, sign) \ argument
20 if (num < 0) \
22 num = -num; \
42 divmodsi4(int modwanted, unsigned long num, unsigned long den) in divmodsi4() argument
47 while (den < num && bit && !(den & (1L<<31))) in divmodsi4()
54 if (num >= den) in divmodsi4()
56 num -= den; in divmodsi4()
62 if (modwanted) return num; in divmodsi4()
/picolibc-3.7.0-3.6.0/newlib/libc/stdlib/
Dldiv.c81 ldiv (long num, in ldiv() argument
88 r.quot = num / denom; in ldiv()
89 r.rem = num % denom; in ldiv()
90 if (num >= 0 && r.rem < 0) { in ldiv()
94 else if (num < 0 && r.rem > 0) { in ldiv()
Ddiv.c80 div (int num, in div() argument
85 r.quot = num / denom; in div()
86 r.rem = num % denom; in div()
113 if (num >= 0 && r.rem < 0) { in div()
117 else if (num < 0 && r.rem > 0) { in div()
Dldtoa.c430 static void eiremain (short unsigned int *den, short unsigned int *num,
434 static int edivm (short unsigned int *den, short unsigned int *num,
1060 edivm (short unsigned int *den, short unsigned int *num, LDPARMS * ldp) in edivm() argument
1070 *p++ = num[0]; in edivm()
1071 *p++ = num[1]; in edivm()
1077 eshdn1 (num); in edivm()
1082 tnum = (((unsigned long) num[M]) << 16) + num[M + 1]; in edivm()
1099 if (ecmpm (tprod, num) > 0) in edivm()
1103 if (ecmpm (tprod, num) > 0) in edivm()
1118 esubm (tprod, num); in edivm()
[all …]
Dgetopt.c128 reverse_argv_elements (char **argv, int num) in reverse_argv_elements() argument
133 for (i = 0; i < (num >> 1); i++) in reverse_argv_elements()
136 argv[i] = argv[num - i - 1]; in reverse_argv_elements()
137 argv[num - i - 1] = tmp; in reverse_argv_elements()
/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/headers/
Dtanf4.h65 vec_float4 num, den; in _tanf4() local
91 num = spu_sel(cos, sin, select); in _tanf4()
94 answer = spu_xor(_divf4(num, den), toggle_sign); in _tanf4()
Dtand2.h65 vec_double2 num, den; in _tand2() local
96 num = spu_sel(cos, sin, select); in _tand2()
99 answer = spu_xor(_divd2(num, den), toggle_sign); in _tand2()
/picolibc-3.7.0-3.6.0/newlib/libc/search/
Dhash_log2.c44 __log2(__uint32_t num) in __log2() argument
49 for (i = 0; limit < num; limit = limit << 1, i++); in __log2()
/picolibc-3.7.0-3.6.0/picocrt/machine/riscv/
Dcrt0.c116 #define SAVE_REG(num) \ in _trap() argument
117 __asm__(SD" x%0, %1(sp)" :: "i" (num), \ in _trap()
118 "i" ((num) * sizeof(unsigned long) + offsetof(struct fault, r))) in _trap()
/picolibc-3.7.0-3.6.0/test/
Dfma_gen.5c47 real num;
61 make_float(real num)
64 .sign = num < 0,
65 .u = { .num = num },
105 case num x:
223 f.u.num = mant * 2 ** exp;
225 f.u.num = -f.u.num;
239 case num x:
265 case num:
306 if (b.u == (value_t.num) 0)
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/iconv/ccs/
Dmktbl.pl748 my $num = 0;
751 $tbl->[3]->[$num]->[0] = $_->[0];
752 $tbl->[3]->[$num]->[1] = $_->[$#$_];
753 $tbl->[3]->[$num]->[2] = $idx;
755 $num += 1;
759 $num = 0;
764 $tbl->[4]->[$num]->[$i] = defined $_->[$i] ? $map->{$_->[$i]} : undef;
766 $num += 1;
771 $num = 0;
774 $tbl->[5]->[$num]->[0] = $_;
[all …]
/picolibc-3.7.0-3.6.0/scripts/
Drun-sh69 -device loader,file="$elf",cpu-num=0 "$@" < /dev/null
Drun-arm263 -device loader,file="$elf",cpu-num=0 \
/picolibc-3.7.0-3.6.0/newlib/libc/time/
Dstrftime.c571 size_t num; member
603 adi->num = 1; in get_alt_digits()
605 ++adi->num; in get_alt_digits()
608 adi->digit = (CHAR **) calloc (adi->num, sizeof (CHAR *)); in get_alt_digits()
663 conv_to_alt_digits (CHAR *buf, size_t bufsiz, unsigned num, alt_digits_t *adi) in conv_to_alt_digits() argument
665 if (num < adi->num) in conv_to_alt_digits()
667 size_t len = STRLEN (adi->digit[num]); in conv_to_alt_digits()
670 STRCPY (buf, adi->digit[num]); in conv_to_alt_digits()