Searched refs:decimal (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-12-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/types/
H A Dtst.constants.d29 * verify that integer constants can be written in decimal
42 decimal = 12345;
47 printf("%d %d %d %d", decimal, octal, hexadecimal_1, hexadecimal_2);
48 printf("%d %o %x %x", decimal, octal, hexadecimal_1, hexadecimal_2);
H A Dtst.charconstants.d55 printf("decimal value = %d; character value = %c\n", char_1, char_1);
56 printf("decimal value = %d; character value = %c\n", char_2, char_2);
57 printf("decimal value = %d; character value = %c\n", char_3, char_3);
58 printf("decimal value = %d; character value = %c\n", char_4, char_4);
59 printf("decimal value = %d; character value = %c\n", char_5, char_5);
60 printf("decimal value = %d; character value = %c\n", char_6, char_6);
61 printf("decimal value = %d; character value = %c\n", char_7, char_7);
62 printf("decimal value = %d; character value = %c\n", char_8, char_8);
63 printf("decimal value = %d; character value = %c\n", char_9, char_9);
64 printf("decimal valu
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-strings/
H A Dllvm-strings.cpp48 enum radix { none, octal, hexadecimal, decimal }; enumerator in enum:radix
53 clEnumValN(decimal, "d", "decimal")),
75 case decimal:
/freebsd-12-stable/contrib/mandoc/
H A Dout.h36 size_t decimal; /* decimal position in cell */ member in struct:roffcol
H A Dtbl.h33 char decimal; /* Option "decimalpoint". */ member in struct:tbl_opts
H A Dout.c108 * Calculate the abstract widths and decimal positions of columns in a
129 * widths and decimal positions for all cells in the column. It
342 col->decimal += (col->width - col->nwidth) / 2;
500 * the last decimal point that is adjacent to a digit.
509 } else if (cp[0] == opts->decimal &&
542 if (intsz > col->decimal) {
543 col->nwidth += intsz - col->decimal;
544 col->decimal = intsz;
546 totsz += col->decimal - intsz;
H A Dtbl_opts.c99 tbl->opts.decimal = p[*pos];
H A Dterm.h49 int decimal; /* decimal point position */ member in struct:termp_tbl
H A Dtbl.c102 tbl->opts.decimal = '.';
H A Dtbl_term.c61 * by ternary (3-based) numbers, as opposed to binary or decimal.
179 * calculate the table widths and decimal positions.
876 * First find the position of the decimal point.
885 } else if (cp[0] == opts->decimal &&
908 * Pad left to match the decimal position,
912 if (col->decimal > intsz && col->width > totsz) {
913 padl = col->decimal - intsz;
/freebsd-12-stable/usr.sbin/certctl/
H A Dcertctl.sh61 local checkdir hash decimal
65 decimal=0
67 while [ -e "$checkdir/$hash.$decimal" ]; do
68 decimal=$((decimal + 1))
71 echo ${decimal}
/freebsd-12-stable/contrib/binutils/binutils/
H A Dsize.c46 decimal, octal, hex
48 radix = decimal;
90 -o|-d|-x --radix={8|10|16} Display numbers in octal, decimal or hex\n\
179 radix = decimal;
204 radix = decimal;
218 and M, N, O, P, Q are expressed in decimal by default,
388 (radix == decimal ? "%lu" :
401 (radix == decimal ? "%lu" :
45 decimal, octal, hex enumerator in enum:__anon512
/freebsd-12-stable/contrib/gcc/
H A Ddfp.c58 /* Initialize R (a real with the decimal flag set) from DN. Can
78 r->decimal = 1;
89 /* Create decimal encoded R from string S. */
131 gcc_assert (r->decimal);
336 /* Helper function to real.c:do_compare() to handle decimal internal
348 /* If either operand is non-decimal, create temporary versions. */
349 if (!a->decimal)
354 if (!b->decimal)
380 /* Helper to round_for_format, handling decimal float types. */
426 binary and decimal type
[all...]
H A Dreal.h49 unsigned int decimal : 1;
160 Float modes are followed by decimal float modes, with entries for
162 decimal float modes indexed by (MODE - first decimal float mode) +
211 /* Render R as a decimal floating point constant. */
224 /* Initialize R from a decimal or hexadecimal string. */
226 /* Wrapper to allow different internal representation for decimal floats. */
319 /* Real values to IEEE 754R decimal floats. */
H A Dreal.c63 Note that the decimal string conversion routines are sensitive to
486 if (r->decimal)
653 r->decimal = 0;
949 if (a->decimal || b->decimal)
977 if (r->decimal)
1003 if (op0->decimal || (op1 && op1->decimal))
1209 if (a->decimal != b->decimal)
[all...]
H A Dread-rtl.c1283 fatal_with_file_and_line (infile, "invalid decimal constant \"%s\"\n", string);
1461 /* tmp_char is a buffer used for reading decimal integers
/freebsd-12-stable/contrib/nvi/vi/
H A Dv_increment.c118 goto decimal;
124 goto decimal;
133 decimal: base = 10;
/freebsd-12-stable/sys/kern/
H A Dkern_fail.c686 int decimal = ent->fe_prob % (PROB_MAX / 100); local
689 if (decimal) {
691 while (!(decimal % 10)) {
693 decimal /= 10;
695 sbuf_printf(sb, ".%0*d", digits, decimal);
999 int units, decimal; local
1001 p = parse_number(&units, &decimal, p);
1008 ent->fe_prob = units * (PROB_MAX / 100) + decimal;
1012 if (!units || units < 0 || decimal)
/freebsd-12-stable/usr.bin/kdump/
H A Dkdump.c129 static bool abiflag, decimal, fancy = true, resolv, suppressdata, syscallno, variable
150 if (decimal) \
160 if (decimal) \
233 if (decimal)
250 if (decimal)
381 decimal = true;
743 else if (decimal)
1073 decimal ? 10 : 16);
1193 if (decimal)
1542 if (decimal)
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp77 enum RadixTy { octal = 8, decimal = 10, hexadecimal = 16 }; enumerator in enum:RadixTy
79 "radix", cl::desc("Print size in radix"), cl::init(decimal),
81 clEnumValN(decimal, "10", "Print size in decimal"),
88 clEnumValN(decimal, "d", "Print size in decimal"),
90 cl::init(decimal), cl::cat(SizeCat));
175 case decimal:
/freebsd-12-stable/contrib/gcc/config/
H A Ddfp-bit.h103 #error invalid decimal float word width
127 /* Conversions between different decimal float types use WIDTH_TO to
165 /* Conversions between decimal float types and integral types use INT_KIND
215 /* Conversions between decimal float types and binary float types use
311 /* Names of functions to convert between different decimal float types. */
333 /* Names of functions to convert between decimal float and integers. */
379 /* Names of functions to convert between decimal float and binary float. */
432 /* The type of the result of a decimal float comparison. This must
/freebsd-12-stable/sbin/fdisk/
H A Dfdisk.c68 #define Decimal(str, ans, tmp, maxval) if (decimal(str, &tmp, ans, maxval)) ans = tmp
254 static int decimal(const char *str, int *num, int deflt, uint32_t maxval);
944 decimal(const char *str, int *num, int deflt, uint32_t maxval) function
952 printf("Supply a decimal value for \"%s\" [%d] ", str, deflt);
984 printf("%s is an invalid decimal number. Try again.\n",
/freebsd-12-stable/stand/lua/
H A Dcore.lua102 -- Note that this is a decimal representation, despite the leading 0 that in
/freebsd-12-stable/stand/ficl/
H A Dwords.c201 ** (jws 8/01) Trailing decimal point causes a zero cell to be pushed. (See
235 if ((count > 0) && (cp[count-1] == '.')) /* detect & remove trailing decimal */
2359 static void decimal(FICL_VM *pVM) function
4931 dictAppendWord(dp, "decimal", decimal, FW_DEFAULT);
/freebsd-12-stable/contrib/amd/doc/
H A Dtexinfo.tex3853 % #1 is the @columnfraction, usually a decimal number like .5, but might
9207 %\wlog{\space\space defining Unicode char U+#1 (decimal \the\countUTFz)}%
9982 % which is the decimal equivalent of "715c (class 7, e.g., use \fam;

Completed in 205 milliseconds

12