If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:bc

From BoxMatrix


BoxMatrix >> Shell-Commands >> bc @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

BusyBox-Command

Goto:   GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

Excerpt from:   BusyBox manual   >>   bc command

No manual entry for this command.

Excerpt from:   BusyBox source   >>   bc command   -   Last update: 2024-03-19 04:55 GMT.

Usage:
    bc [-sqlw] [FILE]...


Arbitrary precision calculator

        -q        Quiet
        -l        Load standard library
        -s        Be POSIX compatible
        -w        Warn if extensions are used

$BC_LINE_LENGTH changes output width

Example:
3 + 4.129
1903 - 2893
-129 * 213.28935
12 / -1932
12 % 12
34 ^ 189
scale = 13
ibase = 2
obase = A

Usage:
    bc )


Tiny RPN calculator. Operations:
Arithmetic: + - * / % ^
~ - divide with remainder
| - modular exponentiation
v - square root
p - print top of the stack without popping
f - print entire stack
k - pop the value and set precision
i - pop the value and set input radix
o - pop the value and set output radix
Examples: dc -e'2 2 + p' -> 4, dc -e'8 8 * 2 2 + / p' -> 16

Example:
$ dc -e'2 2 + p'
4
$ dc -e'8 8 \* 2 2 + / p'
16
$ dc -e'0 1 & p'
0
$ dc -e'0 1 | p'
1
$ echo '72 9 / 8 * p' | dc
64

Note that some options may not be compiled in. If Usage: is shown multiple times these are compile options.

GPL-Browser

Daily updated index of all bc code findings on the GPL-Browser. Last update: 2024-03-19 05:08 GMT.
The Browse column points to the Path containing the respective source code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.

Excerpt from:   BusyBox manual   >>   bc command   -   Last update: 2009-10-02 09:23 GMT.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-03-19 07:32 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Symlink to cmd busybox (bbcmd) 3 7.90 The BusyBox executable itself. Contains the code for all applets. BusyBox
1 dependency for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-03-19 06:01 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
The path <bb> means the applet could be located in the busybox binary and could be called busybox bc.
If a path is shown and no <bb> marker, then this is a dead link to a missing applet.

Model Firmware Path Size
FRITZ!Box WLAN 3270 4.86 - 5.54 <bb>
FRITZ!Box WLAN 3270 v3 4.86 - 5.54 <bb>
FRITZ!Box WLAN 3270 IT 5.51 - 5.52 <bb>
FRITZ!Box 3490 (main) 7.08 <bb>
FRITZ!Box 3490 (scrpn) 7.08 <bb>
FRITZ!Box 4020 <bb>
FRITZ!Box 5490 (main) 7.08 <bb>
FRITZ!Box 5490 (scrpn) 7.08 <bb>
FRITZ!Box 5491 (main) 7.08 <bb>
FRITZ!Box 5491 (scrpn) 7.08 <bb>
FRITZ!Box 5530 Fiber (main) 7.21 - 7.30 <bb>
FRITZ!Box 6430 Cable (arm) 7.01 - 7.29 <bb>
FRITZ!Box 6430 Cable (atom) 7.01 - 7.29 <bb>
FRITZ!Box 6490 Cable (arm) 7.00 - 7.51 <bb>
FRITZ!Box 6490 Cable (atom) 7.00 - 7.51 <bb>
FRITZ!Box 6590 Cable (arm) 6.110 - 7.51 <bb>
FRITZ!Box 6590 Cable (atom) 6.110 - 7.51 <bb>
FRITZ!Box 6591 Cable (arm) 7.04 - 7.22 <bb>
FRITZ!Box 6591 Cable (atom) 7.04 - 7.22 <bb>
FRITZ!Box 6660 Cable (arm) 7.14 - 7.24 <bb>
FRITZ!Box 6660 Cable (atom) 7.19 - 7.24 <bb>
FRITZ!Box 6840 LTE 5.23 - 5.27 <bb>
FRITZ!Box 6850 LTE 7.26 - 7.39 <bb>
FRITZ!Box 6890 LTE 6.98 - 7.51 <bb>
FRITZ!Box 6890 LTE v1 6.98 - 7.51 <bb>
FRITZ!Box 6890 LTE v2 6.98 - 7.51 <bb>
FRITZ!Box Fon WLAN 7240 4.85 - 6.06 <bb>
FRITZ!Box Fon WLAN 7270 v1 4.80 - 4.94 <bb>
FRITZ!Box Fon WLAN 7270 v2 4.80 - 6.06 <bb>
FRITZ!Box Fon WLAN 7270 v3 4.80 - 6.06 <bb>
FRITZ!Box Fon WLAN 7340 4.83 <bb>
FRITZ!Box Fon WLAN 7390 4.81 - 4.84 <bb>
FRITZ!Box 7490 (main) 7.01 - 7.08 <bb>
FRITZ!Box 7490 (scrpn) 7.01 - 7.08 <bb>
FRITZ!Box 7530 AX 7.90 /usr/bin, <bb> Link
FRITZ!Box 7560 6.51 - 7.30 <bb>
FRITZ!Box Fon WLAN 7570 vDSL 4.80 - 4.94 <bb>
FRITZ!Box 7580 6.53 - 7.30 <bb>
FRITZ!Box 7583 7.01 - 7.57 <bb>
FRITZ!Box 7583 VDSL 7.27 - 7.31 <bb>
FRITZ!Box 7590 6.98 - 7.90 /usr/bin, <bb> Link
FRITZ!Box 7590 AX 7.24 - 7.90 /usr/bin, <bb> Link
FRITZ!WLAN Repeater 300E 6.00 - 6.04 <bb>
FRITZ!WLAN Repeater 310 A 5.24 <bb>
FRITZ!WLAN Repeater 310 B 6.90 - 6.92 <bb>
FRITZ!WLAN Repeater 1160 6.90 - 6.92 <bb>
FRITZ!Powerline 1240E 6.90 - 6.92 <bb>
47 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-03-19 07:32 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

b