File: wcalc.rc

package info (click to toggle)
wcalc 2.5-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,284 kB
  • ctags: 1,562
  • sloc: ansic: 8,379; sh: 2,250; objc: 1,776; lex: 852; yacc: 603; makefile: 126
file content (63 lines) | stat: -rw-r--r-- 1,885 bytes parent folder | download | duplicates (7)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# What precision should the numbers print in?
# -1 : automatic
# n  : n decimal places
precision = -1

# Should the numbers be printed in engineering notation?
# true/false or yes/no
engineering = false

# Should undeclared variables be considered errors?
# if no, the undeclared variables are considered 0.
# true/false or yes/no
flag_undeclared = yes

# Whether trig functions use radians or not
# true/false or yes/no
use_radians = no

# What format (base) should numbers be printed in
# decimal : the number is printed "normally", in base 10
# octal   : the number is printed like 031
# binary  : the number is printed like 0b1101101
# hexadecimal : the number is printed like 0x3af913
output_format = decimal # octal, binary, hexadecimal

# Should alternate-format numbers be printed with the indicative prefixes
# true/false or yes/no
print_prefixes = yes

# Should there be any indication or warning that things have been rounded
# no      : there is no indication
# simple  : was there any rounding at all
# sig_fig : only if a significant figure has been rounded
rounding_indication = no # simple, sig_fig

# Should errors be remembered in the history
# true/false or yes/no
save_errors = no

# This specifies the thousands and decimal delimiters
# for international numbers. This affects input and output.
# For spaces, use ' ' - may only be one character.
thousands_delimiter = ,
decimal_delimiter = .

# Should numbers be rounded to the pre-defined precision limit of
# the computer
# true/false or yes/no
precision_guard = no

# Should the history be limited in length, and if so, how?
# no : no limit
# n  : some number
# eg. history_limit = 1000
history_limit = no

# Should the equals sign be printed for results?
# true/false or yes/no
show_equals = true

# Should integers be printed whole, or can long ones be compressed?
# true/false or yes/no
print_integers = yes