Debian Codegraph @

po/ro/man1/bc.1.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.25.1\n"
8 "POT-Creation-Date: 2026-02-27 18:41+0100\n"
9 "PO-Revision-Date: 2025-06-04 11:12+0200\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.5\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "bc"
25 msgstr "bc"
26
27 #. type: TH
28 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-01-10"
31 msgstr "10 ianuarie 2025"
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "GNU Project"
38 msgstr "Proiectul GNU"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NUME"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "bc - An arbitrary precision calculator language"
51 msgstr "bc - un limbaj de calcul cu precizie arbitrară"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "SYNTAX"
58 msgstr "SINTAXĂ"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "B<bc> [ B<-hlwsqv> ] [long-options] [ I< file ...> ]"
64 msgstr "B<bc> [ B<-hlwsqv> ] [opțiuni-lungi] [ I< fișier ...> ]"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "DESCRIPTION"
71 msgstr "DESCRIERE"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 msgid ""
77 "B<bc> is a language that supports arbitrary precision numbers with "
78 "interactive execution of statements. There are some similarities in the "
79 "syntax to the C programming language. A standard math library is available "
80 "by command line option. If requested, the math library is defined before "
81 "processing any files. B<bc> starts by processing code from all the files "
82 "listed on the command line in the order listed. After all files have been "
83 "processed, B<bc> reads from the standard input. All code is executed as it "
84 "is read. (If a file contains a command to halt the processor, B<bc> will "
85 "never read from the standard input.)"
86 msgstr ""
87 "B<bc> este un limbaj care acceptă numere cu precizie arbitrară cu execuție "
88 "interactivă a instrucțiunilor. Există unele asemănări în sintaxă cu limbajul "
89 "de programare C. O bibliotecă de matematică standard este disponibilă prin "
90 "opțiune de linie de comandă. Dacă se solicită, biblioteca de matematică este "
91 "definită înainte de procesarea oricăror fișiere. B<bc> începe prin "
92 "procesarea codului din toate fișierele enumerate în linia de comandă, în "
93 "ordinea enumerată. După ce toate fișierele au fost procesate, B<bc> citește "
94 "de la intrarea standard. Tot codul este executat pe măsură ce este citit; "
95 "(dacă un fișier conține o comandă de oprire a procesorului, B<bc> nu va citi "
96 "niciodată de la intrarea standard)."
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "This version of B<bc> contains several extensions beyond traditional B<bc> "
103 "implementations and the POSIX draft standard. Command line options can "
104 "cause these extensions to print a warning or to be rejected. This document "
105 "describes the language accepted by this processor. Extensions will be "
106 "identified as such."
107 msgstr ""
108 "Această versiune a B<bc> conține mai multe extensii care depășesc "
109 "implementările B<bc> tradiționale și proiectul de standard POSIX. Opțiunile "
110 "din linia de comandă pot face ca aceste extensii să afișeze un avertisment "
111 "sau să fie respinse. Acest document descrie limbajul acceptat de acest "
112 "procesor. Extensiile vor fi identificate ca atare."
113
114 #. type: SS
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 #, no-wrap
118 msgid "OPTIONS"
119 msgstr "OPȚIUNI"
120
121 #. type: IP
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid "-h, --help"
126 msgstr "-h, --help"
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid "Print the usage and exit."
132 msgstr "Afișează modul de utilizare și iese."
133
134 #. type: IP
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 #, no-wrap
138 msgid "-i, --interactive"
139 msgstr "-i, --interactive"
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid "Force interactive mode."
145 msgstr "Forțează modul interactiv."
146
147 #. type: IP
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 #, no-wrap
151 msgid "-l, --mathlib"
152 msgstr "-l, --mathlib"
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid "Define the standard math library."
158 msgstr "Definește biblioteca matematică standard."
159
160 #. type: IP
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 #, no-wrap
164 msgid "-w, --warn"
165 msgstr "-w, --warn"
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid "Give warnings for extensions to POSIX B<bc>."
171 msgstr "Furnizează avertismente pentru extensiile la POSIX B<bc>."
172
173 #. type: IP
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 #, no-wrap
177 msgid "-s, --standard"
178 msgstr "-s, --standard"
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid "Process exactly the POSIX B<bc> language."
184 msgstr "Procesează exact în limbajul POSIX B<bc>."
185
186 #. type: IP
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid "-q, --quiet"
191 msgstr "-q, --quiet"
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid "Do not print the normal GNU bc welcome."
197 msgstr "Nu afișează mesajul normal de bun venit în GNU bc."
198
199 #. type: IP
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "-v, --version"
204 msgstr "-v, --version"
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid "Print the version number and copyright and quit."
210 msgstr "Afișează numărul versiunii și drepturile de autor și iese."
211
212 #. type: SS
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "NUMBERS"
217 msgstr "NUMERE"
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "The most basic element in B<bc> is the number. Numbers are arbitrary "
224 "precision numbers. This precision is both in the integer part and the "
225 "fractional part. All numbers are represented internally in decimal and all "
226 "computation is done in decimal. (This version truncates results from divide "
227 "and multiply operations.) There are two attributes of numbers, the length "
228 "and the scale. The length is the total number of decimal digits used by "
229 "B<bc> to represent a number and the scale is the total number of decimal "
230 "digits after the decimal point. For example:"
231 msgstr ""
232 "Cel mai de bază element în B<bc> este numărul. Numerele sunt numere cu "
233 "precizie arbitrară. Această precizie este atât în partea întreagă, cât și în "
234 "partea fracționară. Toate numerele sunt reprezentate intern în zecimal și "
235 "toate calculele sunt efectuate în zecimal; (această versiune trunchiază "
236 "rezultatele operațiilor de împărțire și multiplicare). Există două atribute "
237 "ale numerelor, lungimea și scala. Lungimea este numărul total de cifre "
238 "zecimale utilizate de B<bc> pentru a reprezenta un număr, iar scala este "
239 "numărul total de cifre zecimale după punctul zecimal. De exemplu:"
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid ""
246 " .000001 has a length of 6 and scale of 6.\n"
247 " 1935.000 has a length of 7 and a scale of 3.\n"
248 msgstr ""
249 " .000001 are o lungime de 6 și o scală de 6.\n"
250 " 1935.000 are o lungime de 7 și o scală de 3.\n"
251
252 #. type: SS
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "VARIABLES"
257 msgstr "VARIABILE"
258
259 #. type: Plain text
260 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
261 msgid ""
262 "Numbers are stored in two types of variables, simple variables and arrays. "
263 "Both simple variables and array variables are named. Names begin with a "
264 "letter followed by any number of letters, digits and underscores. All "
265 "letters must be lower case. (Full alphanumeric names are an extension. In "
266 "POSIX B<bc> all names are a single lower case letter.) The type of variable "
267 "is clear by the context because all array variable names will be followed by "
268 "brackets ([])."
269 msgstr ""
270 "Numerele sunt stocate în două tipuri de variabile, variabile simple și "
271 "matrice. Atât variabilele simple, cât și variabilele matrice sunt denumite. "
272 "Numele încep cu o literă urmată de orice număr de litere, cifre și liniuțe "
273 "de subliniere. Toate literele trebuie să fie în minuscule. Numele "
274 "alfanumerice complete sunt o extensie; în B<bc> POSIX toate numele sunt "
275 "formate dintr-o singură literă minusculă). Tipul de variabilă este clar în "
276 "funcție de context, deoarece toate numele variabilelor de tip matrice vor fi "
277 "urmate de paranteze drepte ([])."
278
279 #. type: Plain text
280 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
281 #: opensuse-tumbleweed
282 msgid ""
283 "There are four special variables, B<scale, ibase, obase,> and B<last>. "
284 "B<scale> defines how some operations use digits after the decimal point. "
285 "The default value of B<scale> is 0. B<ibase> and B<obase> define the "
286 "conversion base for input and output numbers. The default for both input "
287 "and output is base 10. B<last> (an extension) is a variable that has the "
288 "value of the last printed number. These will be discussed in further detail "
289 "where appropriate. All of these variables may have values assigned to them "
290 "as well as used in expressions."
291 msgstr ""
292 "Există patru variabile speciale, B<scale, ibase, obase,> și B<last>. "
293 "B<scale> definește modul în care unele operații utilizează cifrele după "
294 "punctul zecimal. Valoarea implicită a lui B<scale> este 0. B<ibase> și "
295 "B<obase> definesc baza de conversie pentru numerele de intrare și ieșire. "
296 "Valoarea implicită atât pentru intrare, cât și pentru ieșire este baza 10. "
297 "B<last> (o extensie) este o variabilă care are valoarea ultimului număr "
298 "afișat. Acestea vor fi discutate mai detaliat acolo unde este cazul. Toate "
299 "aceste variabile pot avea valori atribuite, precum și utilizate în expresii."
300
301 #. type: SS
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "COMMENTS"
306 msgstr "COMENTARII"
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid ""
312 "Comments in B<bc> start with the characters B</*> and end with the "
313 "characters B<*/>. Comments may start anywhere and appear as a single space "
314 "in the input. (This causes comments to delimit other input items. For "
315 "example, a comment can not be found in the middle of a variable name.) "
316 "Comments include any newlines (end of line) between the start and the end of "
317 "the comment."
318 msgstr ""
319 "Comentariile din B<bc> încep cu caracterele B</*> și se termină cu "
320 "caracterele B<*/>. Comentariile pot începe oriunde și apar ca un singur "
321 "spațiu în textul de intrare; (acest lucru face ca comentariile să delimiteze "
322 "alte elemente de intrare - de exemplu, un comentariu nu poate fi găsit în "
323 "mijlocul unui nume de variabilă). Comentariile includ orice linii noi "
324 "(sfârșit de linie) între începutul și sfârșitul comentariului."
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "To support the use of scripts for B<bc>, a single line comment has been "
331 "added as an extension. A single line comment starts at a B<#> character and "
332 "continues to the next end of the line. The end of line character is not "
333 "part of the comment and is processed normally."
334 msgstr ""
335 "Pentru a oferi suport pentru utilizarea scripturilor pentru B<bc>, a fost "
336 "adăugat un comentariu pe o singură linie ca extensie. Un comentariu pe o "
337 "singură linie începe la un caracter B<#> și continuă până la următorul capăt "
338 "de linie. Caracterul de sfârșit de linie nu face parte din comentariu și "
339 "este procesat în mod normal."
340
341 #. type: SS
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "EXPRESSIONS"
346 msgstr "EXPRESII"
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid ""
352 "The numbers are manipulated by expressions and statements. Since the "
353 "language was designed to be interactive, statements and expressions are "
354 "executed as soon as possible. There is no \"main\" program. Instead, code "
355 "is executed as it is encountered. (Functions, discussed in detail later, "
356 "are defined when encountered.)"
357 msgstr ""
358 "Numerele sunt manipulate prin expresii și instrucțiuni. Deoarece limbajul a "
359 "fost conceput pentru a fi interactiv, instrucțiunile și expresiile sunt "
360 "executate cât mai curând posibil. Nu există un program „principal”. În "
361 "schimb, codul este executat pe măsură ce este întâlnit; (funcțiile, "
362 "discutate în detaliu mai târziu, sunt definite atunci când sunt întâlnite)."
363
364 #. type: Plain text
365 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
366 msgid ""
367 "A simple expression is just a constant. B<bc> converts constants into "
368 "internal decimal numbers using the current input base, specified by the "
369 "variable B<ibase>. (There is an exception in functions.) The valid values "
370 "for B<ibase> are 2 through 36. (Bases greater than 16 are an extension.) "
371 "Assigning a value outside this range to B<ibase> will result in a value of 2 "
372 "or 36. Input numbers may contain the characters 0\\(en9 and A\\(enZ. "
373 "(Note: They must be capitals. Lower case letters are variable names.) "
374 "Single digit numbers always have the value of the digit regardless of the "
375 "value of B<ibase>. (i.e.\\& A = 10.) For multi-digit numbers, B<bc> changes "
376 "all input digits greater or equal to ibase to the value of B<ibase>-1. This "
377 "makes the number B<ZZZ> always be the largest 3 digit number of the input "
378 "base."
379 msgstr ""
380 "O expresie simplă este doar o constantă. B<bc> convertește constantele în "
381 "numere zecimale interne folosind baza de intrare curentă, specificată de "
382 "variabila B<ibase>.; (există o excepție în funcții). Valorile valide pentru "
383 "B<ibase> sunt de la 2 la 36; (bazele mai mari de 16 sunt o extensie). "
384 "Atribuirea unei valori în afara acestui interval pentru B<ibase> va avea ca "
385 "rezultat o valoare de 2 sau 36. Numerele de intrare pot conține caracterele "
386 "0-9 și A-Z. - Notă: Acestea trebuie să fie în majuscule. Literele minuscule "
387 "sunt nume de variabile. - Numerele cu o singură cifră au întotdeauna "
388 "valoarea cifrei indiferent de valoarea lui B<ibase>, (de exemplu, \\& A = "
389 "10.) Pentru numerele cu mai multe cifre, B<bc> schimbă toate cifrele de "
390 "intrare mai mari sau egale cu ibase la valoarea B<ibase>-1. Acest lucru face "
391 "ca numărul B<ZZZ> să fie întotdeauna cel mai mare număr de 3 cifre din baza "
392 "de intrare."
393
394 #. type: Plain text
395 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
396 msgid ""
397 "Full expressions are similar to many other high level languages. Since "
398 "there is only one kind of number, there are no rules for mixing types. "
399 "Instead, there are rules on the scale of expressions. Every expression has "
400 "a scale. This is derived from the scale of original numbers, the operation "
401 "performed and in many cases, the value of the variable B<scale>. Valid "
402 "values of the variable B<scale> are 0 to the maximum number representable by "
403 "a C integer."
404 msgstr ""
405 "Expresiile complete sunt similare cu multe alte limbaje de nivel înalt. "
406 "Deoarece există un singur tip de număr, nu există reguli pentru amestecarea "
407 "tipurilor. În schimb, există reguli privind scala expresiilor. Fiecare "
408 "expresie are o scală. Aceasta este derivată din scala numerelor originale, "
409 "operația efectuată și, în multe cazuri, valoarea variabilei B<scale>. "
410 "Valorile valide ale variabilei B<scale> sunt de la 0 la numărul maxim "
411 "reprezentabil de un număr întreg C."
412
413 #. type: Plain text
414 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
415 msgid ""
416 "In the following descriptions of valid expressions, \"expr\" refers to a "
417 "complete expression and \"var\" refers to a simple or an array variable. A "
418 "simple variable is just a"
419 msgstr ""
420 "În următoarele descrieri ale expresiilor valide, „expr” se referă la o "
421 "expresie completă, iar „var” se referă la o variabilă simplă sau la o "
422 "matrice. O variabilă simplă este doar o"
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 msgid "I<name>"
428 msgstr "I<nume>"
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 msgid "and an array variable is specified as"
434 msgstr "iar o variabilă matrice este specificată ca"
435
436 #. #-#-#-#-# archlinux: bc.1.pot (PACKAGE VERSION) #-#-#-#-#
437 #. type: Plain text
438 #. #-#-#-#-# debian-trixie: bc.1.pot (PACKAGE VERSION) #-#-#-#-#
439 #. \fIname\fR[\fIexpr\fR]
440 #. type: Plain text
441 #. #-#-#-#-# debian-unstable: bc.1.pot (PACKAGE VERSION) #-#-#-#-#
442 #. \fIname\fR[\fIexpr\fR]
443 #. type: Plain text
444 #. #-#-#-#-# fedora-44: bc.1.pot (PACKAGE VERSION) #-#-#-#-#
445 #. type: Plain text
446 #. #-#-#-#-# fedora-rawhide: bc.1.pot (PACKAGE VERSION) #-#-#-#-#
447 #. type: Plain text
448 #. #-#-#-#-# mageia-cauldron: bc.1.pot (PACKAGE VERSION) #-#-#-#-#
449 #. type: Plain text
450 #. #-#-#-#-# opensuse-leap-16-1: bc.1.pot (PACKAGE VERSION) #-#-#-#-#
451 #. type: Plain text
452 #. #-#-#-#-# opensuse-tumbleweed: bc.1.pot (PACKAGE VERSION) #-#-#-#-#
453 #. type: Plain text
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 msgid "I<name>[I<expr>]"
457 msgstr "I<nume>[I<expr>]"
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid ""
463 "Unless specifically mentioned the scale of the result is the maximum scale "
464 "of the expressions involved."
465 msgstr ""
466 "Cu excepția cazului în care se menționează în mod specific, scala "
467 "rezultatului este scara maximă a expresiilor implicate."
468
469 #. type: IP
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid "- expr"
474 msgstr "- expr"
475
476 #. type: Plain text
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 msgid "The result is the negation of the expression."
480 msgstr "Rezultatul este negația expresiei."
481
482 #. type: IP
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "++ var"
487 msgstr "++ var"
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 msgid ""
493 "The variable is incremented by one and the new value is the result of the "
494 "expression."
495 msgstr ""
496 "Variabila este incrementată cu unu, iar noua valoare este rezultatul "
497 "expresiei."
498
499 #. type: IP
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 #, no-wrap
503 msgid "-- var"
504 msgstr "-- var"
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid ""
510 "The variable is decremented by one and the new value is the result of the "
511 "expression."
512 msgstr ""
513 "Variabila este decrementată cu unu, iar noua valoare este rezultatul "
514 "expresiei."
515
516 #. type: IP
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 #, no-wrap
520 msgid "var ++"
521 msgstr "var ++"
522
523 #. type: Plain text
524 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
525 msgid ""
526 "The result of the expression is the value of the variable and then the "
527 "variable is incremented by one."
528 msgstr ""
529 "Rezultatul expresiei este valoarea variabilei și apoi variabila este "
530 "incrementată cu unu."
531
532 #. type: IP
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 #, no-wrap
536 msgid "var --"
537 msgstr "var --"
538
539 #. type: Plain text
540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
542 msgid ""
543 "The result of the expression is the value of the variable and then the "
544 "variable is decremented by one."
545 msgstr ""
546 "Rezultatul expresiei este valoarea variabilei și apoi variabila este "
547 "decrementată cu unu."
548
549 #. type: IP
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 #, no-wrap
553 msgid "expr + expr"
554 msgstr "expr + expr"
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 msgid "The result of the expression is the sum of the two expressions."
560 msgstr "Rezultatul expresiei este suma celor două expresii."
561
562 #. type: IP
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 #, no-wrap
566 msgid "expr - expr"
567 msgstr "expr - expr"
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 msgid "The result of the expression is the difference of the two expressions."
573 msgstr "Rezultatul expresiei este diferența dintre cele două expresii."
574
575 #. type: IP
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 #, no-wrap
579 msgid "expr * expr"
580 msgstr "expr * expr"
581
582 #. type: Plain text
583 #: archlinux debian-trixie debian-unstable mageia-cauldron opensuse-leap-16-1
584 #: opensuse-tumbleweed
585 msgid "The result of the expression is the product of the two expressions."
586 msgstr "Rezultatul expresiei este produsul celor două expresii."
587
588 #. type: IP
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 #, no-wrap
592 msgid "expr / expr"
593 msgstr "expr / expr"
594
595 #. type: Plain text
596 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
597 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
598 msgid ""
599 "The result of the expression is the quotient of the two expressions. The "
600 "scale of the result is the value of the variable B<scale>."
601 msgstr ""
602 "Rezultatul expresiei este coeficientul celor două expresii. Scala "
603 "rezultatului este valoarea variabilei B<scale>."
604
605 #. type: IP
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 #, no-wrap
609 msgid "expr % expr"
610 msgstr "expr % expr"
611
612 #. type: Plain text
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 msgid ""
616 "The result of the expression is the \"remainder\" and it is computed in the "
617 "following way. To compute a%b, first a/b is computed to B<scale> digits. "
618 "That result is used to compute a-(a/b)*b to the scale of the maximum of "
619 "B<scale>+scale(b) and scale(a). If B<scale> is set to zero and both "
620 "expressions are integers this expression is the integer remainder function."
621 msgstr ""
622 "Rezultatul expresiei este „restul” și este calculat în felul următor. Pentru "
623 "a calcula a%b, mai întâi a/b este calculat la cifrele B<scale>. Acest "
624 "rezultat este utilizat pentru a calcula a-(a/b)*b la scala maximului dintre "
625 "B<scale>+scale(b) și scale(a). Dacă B<scale> este definită la zero și ambele "
626 "expresii sunt numere întregi, această expresie este funcția de rest întreg."
627
628 #. type: IP
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 #, no-wrap
632 msgid "expr ^ expr"
633 msgstr "expr ^ expr"
634
635 #. type: Plain text
636 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
637 msgid ""
638 "The result of the expression is the value of the first raised to the second. "
639 "The second expression must be an integer. (If the second expression is not "
640 "an integer, a warning is generated and the expression is truncated to get an "
641 "integer value.) The scale of the result is B<scale> if the exponent is "
642 "negative. If the exponent is positive the scale of the result is the "
643 "minimum of the scale of the first expression times the value of the exponent "
644 "and the maximum of B<scale> and the scale of the first expression. (e.g.\\& "
645 "scale(a^b) = min(scale(a)*b, max( B<scale,> scale(a))).) It should be "
646 "noted that expr^0 will always return the value of 1."
647 msgstr ""
648 "Rezultatul expresiei este valoarea primei expresii ridicată la a doua. A "
649 "doua expresie trebuie să fie un număr întreg; (dacă a doua expresie nu este "
650 "un număr întreg, este generat un avertisment și expresia este trunchiată "
651 "pentru a obține o valoare întreagă). Scala rezultatului este B<scale> dacă "
652 "exponentul este negativ. Dacă exponentul este pozitiv, scala rezultatului "
653 "este minimul dintre scala primei expresii înmulțit cu valoarea exponentului "
654 "și maximul dintre B<scale> și scala primei expresii; (dde exemplu: \\& "
655 "scale(a^b) = min(scale(a)*b, max( B<scale,> scale(a)))). Trebuie remarcat "
656 "faptul că expr^0 va returna întotdeauna valoarea 1."
657
658 #. type: IP
659 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
660 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
661 #, no-wrap
662 msgid "( expr )"
663 msgstr "( expr )"
664
665 #. type: Plain text
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 msgid ""
669 "This alters the standard precedence to force the evaluation of the "
670 "expression."
671 msgstr ""
672 "Aceasta modifică precedența standard pentru a forța evaluarea expresiei."
673
674 #. type: IP
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 #, no-wrap
678 msgid "var = expr"
679 msgstr "var = expr"
680
681 #. type: Plain text
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 msgid "The variable is assigned the value of the expression."
685 msgstr "Variabilei i se atribuie valoarea expresiei."
686
687 #. type: IP
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, no-wrap
691 msgid "var E<lt>opE<gt>= expr"
692 msgstr "var E<lt>opE<gt>= expr"
693
694 #. type: Plain text
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 msgid ""
698 "This is equivalent to \"var = var E<lt>opE<gt> expr\" with the exception "
699 "that the \"var\" part is evaluated only once. This can make a difference if "
700 "\"var\" is an array."
701 msgstr ""
702 "Aceasta este echivalentă cu „var = var E<lt>opE<gt> expr”, cu excepția "
703 "faptului că partea „var” este evaluată o singură dată. Acest lucru poate "
704 "face o diferență dacă „var” este o matrice."
705
706 #. type: Plain text
707 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
708 msgid ""
709 "Relational expressions are a special kind of expression that always evaluate "
710 "to 0 or 1, 0 if the relation is false and 1 if the relation is true. These "
711 "may appear in any valid expression. (POSIX bc requires that relational "
712 "expressions are used only in if, while, and for statements and that only one "
713 "relational test may be done in them.) The relational operators are"
714 msgstr ""
715 "Expresiile relaționale sunt un tip special de expresie care evaluează "
716 "întotdeauna la 0 sau 1, 0 dacă relația este falsă și 1 dacă relația este "
717 "adevărată. Acestea pot apărea în orice expresie validă; (bc POSIX impune ca "
718 "expresiile relaționale să fie utilizate numai în declarațiile if, while și "
719 "for și ca numai un test relațional să poată fi efectuat în acestea). "
720 "Operatorii relaționali sunt"
721
722 #. type: IP
723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
725 #, no-wrap
726 msgid "expr1 E<lt> expr2"
727 msgstr "expr1 E<lt> expr2"
728
729 #. type: Plain text
730 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
731 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
732 msgid "The result is 1 if expr1 is strictly less than expr2."
733 msgstr "Rezultatul este 1 dacă expr1 este strict mai mică decât expr2."
734
735 #. type: IP
736 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
737 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
738 #, no-wrap
739 msgid "expr1 E<lt>= expr2"
740 msgstr "expr1 E<lt>= expr2"
741
742 #. type: Plain text
743 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
744 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
745 msgid "The result is 1 if expr1 is less than or equal to expr2."
746 msgstr "Rezultatul este 1 dacă expr1 este mai mică sau egală cu expr2."
747
748 #. type: IP
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 #, no-wrap
752 msgid "expr1 E<gt> expr2"
753 msgstr "expr1 E<gt> expr2"
754
755 #. type: Plain text
756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
758 msgid "The result is 1 if expr1 is strictly greater than expr2."
759 msgstr "Rezultatul este 1 dacă expr1 este strict mai mare decât expr2."
760
761 #. type: IP
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 #, no-wrap
765 msgid "expr1 E<gt>= expr2"
766 msgstr "expr1 E<gt>= expr2"
767
768 #. type: Plain text
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 msgid "The result is 1 if expr1 is greater than or equal to expr2."
772 msgstr "Rezultatul este 1 dacă expr1 este mai mare sau egală cu expr2."
773
774 #. type: IP
775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
777 #, no-wrap
778 msgid "expr1 == expr2"
779 msgstr "expr1 == expr2"
780
781 #. type: Plain text
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
784 msgid "The result is 1 if expr1 is equal to expr2."
785 msgstr "Rezultatul este 1 dacă expr1 este egală cu expr2."
786
787 #. type: IP
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 #, no-wrap
791 msgid "expr1 != expr2"
792 msgstr "expr1 != expr2"
793
794 #. type: Plain text
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 msgid "The result is 1 if expr1 is not equal to expr2."
798 msgstr "Rezultatul este 1 dacă expr1 nu este egală cu expr2."
799
800 #. type: Plain text
801 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
802 msgid ""
803 "Boolean operations are also valid. (POSIX B<bc> does NOT have boolean "
804 "operations). The result of all boolean operations are 0 and 1 (for false and "
805 "true) as in relational expressions. The boolean operators are:"
806 msgstr ""
807 "Operațiile booleene sunt, de asemenea, valabile. (POSIX B<bc> NU are "
808 "operații booleene). Rezultatul tuturor operațiilor booleene sunt 0 și 1 "
809 "(pentru fals și adevărat) ca în expresiile relaționale. Operatorii booleeni "
810 "sunt:"
811
812 #. type: IP
813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
815 #, no-wrap
816 msgid "!expr"
817 msgstr "!expr"
818
819 #. type: Plain text
820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
822 msgid "The result is 1 if expr is 0."
823 msgstr "Rezultatul este 1 dacă expr este 0."
824
825 #. type: IP
826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
828 #, no-wrap
829 msgid "expr && expr"
830 msgstr "expr && expr"
831
832 #. type: Plain text
833 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
834 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
835 msgid "The result is 1 if both expressions are non-zero."
836 msgstr "Rezultatul este 1 dacă ambele expresii sunt diferite de zero."
837
838 #. type: IP
839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
841 #, no-wrap
842 msgid "expr || expr"
843 msgstr "expr || expr"
844
845 #. type: Plain text
846 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
847 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
848 msgid "The result is 1 if either expression is non-zero."
849 msgstr "Rezultatul este 1 dacă oricare dintre expresii este diferită de zero."
850
851 #. type: Plain text
852 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
853 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
854 msgid "The expression precedence is as follows: (lowest to highest)"
855 msgstr ""
856 "Precedența expresiilor este după cum urmează: (de la cea mai mică la cea mai "
857 "mare)"
858
859 #. type: Plain text
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 #, no-wrap
863 msgid ""
864 "|| operator, left associative\n"
865 "&& operator, left associative\n"
866 "! operator, nonassociative\n"
867 "Relational operators, left associative\n"
868 "Assignment operator, right associative\n"
869 "+ and - operators, left associative\n"
870 "*, / and % operators, left associative\n"
871 "^ operator, right associative\n"
872 "unary - operator, nonassociative\n"
873 "++ and -- operators, nonassociative\n"
874 msgstr ""
875 "operator ||, asociativ la stânga\n"
876 "operator &&, asociativ la stânga\n"
877 "operator !, neasociativ\n"
878 "operatori relaționali, asociativi la stânga\n"
879 "operator de atribuire, asociativ la dreapta\n"
880 "operatori + și -, asociativ la stânga\n"
881 "operatori *, / și %, asociativ la stânga\n"
882 "operator ^, asociativ la dreapta\n"
883 "operator unar -, neasociativ\n"
884 "operatori ++ și --, neasociativi\n"
885
886 #. type: Plain text
887 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
888 #: opensuse-tumbleweed
889 msgid ""
890 "This precedence was chosen so that POSIX compliant B<bc> programs will run "
891 "correctly. This will cause the use of the relational and logical operators "
892 "to have some unusual behavior when used with assignment expressions. "
893 "Consider the expression:"
894 msgstr ""
895 "Această precedență a fost aleasă astfel încât programele B<bc> conforme cu "
896 "POSIX să ruleze corect. Acest lucru va face ca utilizarea operatorilor "
897 "logici și relaționali să aibă un comportament neobișnuit atunci când sunt "
898 "utilizați cu expresii de atribuire. Luați în considerare expresia:"
899
900 #. type: Plain text
901 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
902 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
903 msgid "a = 3 E<lt> 5"
904 msgstr "a = 3 E<lt> 5"
905
906 #. type: Plain text
907 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
908 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
909 msgid ""
910 "Most C programmers would assume this would assign the result of \"3 E<lt> "
911 "5\" (the value 1) to the variable \"a\". What this does in B<bc> is assign "
912 "the value 3 to the variable \"a\" and then compare 3 to 5. It is best to "
913 "use parenthesis when using relational and logical operators with the "
914 "assignment operators."
915 msgstr ""
916 "Majoritatea programatorilor C ar presupune că acest lucru ar atribui "
917 "rezultatul „3 E<lt> 5” (valoarea 1) variabilei „a”. Ceea ce face acest lucru "
918 "în B<bc> este să atribuie valoarea 3 variabilei „a” și apoi să compare 3 cu "
919 "5. Cel mai bine este să folosiți paranteze atunci când utilizați operatorii "
920 "relaționali și logici cu operatorii de atribuire."
921
922 #. type: Plain text
923 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
924 #: opensuse-tumbleweed
925 msgid ""
926 "There are a few more special expressions that are provided in B<bc>. These "
927 "have to do with user defined functions and standard functions. They all "
928 "appear as \"I<name>B<(>I<parameters>B<)>\". See the section on functions "
929 "for user defined functions. The standard functions are:"
930 msgstr ""
931 "Mai există câteva expresii speciale care sunt furnizate în B<bc>. Acestea au "
932 "de-a face cu funcții definite de utilizator și funcții standard. Toate apar "
933 "ca „I<nume>B<(>I<parametri>B<)>”. Consultați secțiunea privind funcțiile, "
934 "pentru funcțiile definite de utilizator. Funcțiile standard sunt:"
935
936 #. type: IP
937 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
938 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
939 #, no-wrap
940 msgid "length ( expression )"
941 msgstr "length ( expresie )"
942
943 #. type: Plain text
944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
945 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
946 msgid ""
947 "The value of the length function is the number of significant digits in the "
948 "expression."
949 msgstr ""
950 "Valoarea funcției length este numărul de cifre semnificative din expresie."
951
952 #. type: IP
953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
955 #, no-wrap
956 msgid "read ( )"
957 msgstr "read ( )"
958
959 #. type: Plain text
960 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
961 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
962 msgid ""
963 "The read function (an extension) will read a number from the standard input, "
964 "regardless of where the function occurs. Beware, this can cause problems "
965 "with the mixing of data and program in the standard input. The best use for "
966 "this function is in a previously written program that needs input from the "
967 "user, but never allows program code to be input from the user. The value of "
968 "the read function is the number read from the standard input using the "
969 "current value of the variable B<ibase> for the conversion base."
970 msgstr ""
971 "Funcția read (o extensie) va citi un număr de la intrarea standard, "
972 "indiferent de locul în care apare funcția. Atenție, acest lucru poate cauza "
973 "probleme cu amestecul de date și program la intrarea standard. Cea mai bună "
974 "utilizare a acestei funcții este într-un program scris anterior care are "
975 "nevoie de intrare de la utilizator, dar nu permite niciodată introducerea "
976 "codului de program de la utilizator. Valoarea funcției read este numărul "
977 "citit de la intrarea standard folosind valoarea curentă a variabilei "
978 "B<ibase> pentru baza de conversie."
979
980 #. type: IP
981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
983 #, no-wrap
984 msgid "scale ( expression )"
985 msgstr "scale ( expresie )"
986
987 #. type: Plain text
988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
989 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
990 msgid ""
991 "The value of the scale function is the number of digits after the decimal "
992 "point in the expression."
993 msgstr ""
994 "Valoarea funcției scale este numărul de cifre după punctul zecimal din "
995 "expresie."
996
997 #. type: IP
998 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
999 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1000 #, no-wrap
1001 msgid "sqrt ( expression )"
1002 msgstr "sqrt ( expresie )"
1003
1004 #. type: Plain text
1005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1007 msgid ""
1008 "The value of the sqrt function is the square root of the expression. If the "
1009 "expression is negative, a run time error is generated."
1010 msgstr ""
1011 "Valoarea funcției sqrt este rădăcina pătrată a expresiei. Dacă expresia este "
1012 "negativă, este generată o eroare în timpul execuției."
1013
1014 #. type: SS
1015 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1016 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1017 #, no-wrap
1018 msgid "STATEMENTS"
1019 msgstr "INSTRUCȚIUNI"
1020
1021 #. type: Plain text
1022 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1023 msgid ""
1024 "Statements (as in most algebraic languages) provide the sequencing of "
1025 "expression evaluation. In B<bc> statements are executed \"as soon as "
1026 "possible\". Execution happens when a newline in encountered and there is "
1027 "one or more complete statements. Due to this immediate execution, newlines "
1028 "are very important in B<bc>. In fact, both a semicolon and a newline are "
1029 "used as statement separators. An improperly placed newline will cause a "
1030 "syntax error. Because newlines are statement separators, it is possible to "
1031 "hide a newline by using the backslash character. The sequence "
1032 "\"\\eE<lt>nlE<gt>\", where E<lt>nlE<gt> is the newline appears to B<bc> as "
1033 "whitespace instead of a newline. A statement list is a series of statements "
1034 "separated by semicolons and newlines. The following is a list of B<bc> "
1035 "statements and what they do: (Things enclosed in brackets ([]) are optional "
1036 "parts of the statement.)"
1037 msgstr ""
1038 "Instrucțiunile (ca în majoritatea limbajelor algebrice) asigură secvența de "
1039 "evaluare a expresiilor. În B<bc> instrucțiunile sunt executate „de îndată ce "
1040 "este posibil”. Execuția are loc atunci când este întâlnită o linie nouă și "
1041 "există una sau mai multe instrucțiuni complete. Datorită acestei execuții "
1042 "imediate, liniile noi sunt foarte importante în B<bc>. De fapt, atât punctul "
1043 "și virgula, cât și linia nouă sunt utilizate ca separatoare de instrucțiuni. "
1044 "O linie nouă plasată necorespunzător va cauza o eroare de sintaxă. Deoarece "
1045 "liniile noi sunt separatoare de instrucțiuni, este posibil să se ascundă o "
1046 "linie nouă prin utilizarea caracterului de bară oblică inversă. Secvența "
1047 "„\\eE<lt>nlE<gt>”, unde E<lt>nlE<gt> este linia nouă, apare pentru B<bc> ca "
1048 "spațiu alb în loc de o linie nouă. O listă de instrucțiuni este o serie de "
1049 "instrucțiuni separate prin punct și virgulă și linii noi. Următoarea este o "
1050 "listă de instrucțiuni B<bc> și ce fac acestea: (Lucrurile incluse în "
1051 "paranteze ([]) sunt părți opționale ale instrucțiunii)."
1052
1053 #. type: IP
1054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1055 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1056 #, no-wrap
1057 msgid "expression"
1058 msgstr "expresie"
1059
1060 #. type: Plain text
1061 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1062 msgid ""
1063 "This statement does one of two things. If the expression starts with "
1064 "\"E<lt>variableE<gt> E<lt>assignmentE<gt> ...\", it is considered to be an "
1065 "assignment statement. If the expression is not an assignment statement, the "
1066 "expression is evaluated and printed to the output. After the number is "
1067 "printed, a newline is printed. For example, \"a=1\" is an assignment "
1068 "statement and \"(a=1)\" is an expression that has an embedded assignment. "
1069 "All numbers that are printed are printed in the base specified by the "
1070 "variable B<obase>. The valid values for B<obase> are 2 through "
1071 "BC_BASE_MAX. (See the section LIMITS.) For bases 2 through 16, the usual "
1072 "method of writing numbers is used. For bases greater than 16, B<bc> uses a "
1073 "multi-character digit method of printing the numbers where each higher base "
1074 "digit is printed as a base 10 number. The multi-character digits are "
1075 "separated by spaces. Each digit contains the number of characters required "
1076 "to represent the base ten value of \"obase-1\". Since numbers are of "
1077 "arbitrary precision, some numbers may not be printable on a single output "
1078 "line. These long numbers will be split across lines using the \"\\e\" as "
1079 "the last character on a line. The maximum number of characters printed per "
1080 "line is 70. Due to the interactive nature of B<bc>, printing a number "
1081 "causes the side effect of assigning the printed value to the special "
1082 "variable B<last>. This allows the user to recover the last value printed "
1083 "without having to retype the expression that printed the number. Assigning "
1084 "to B<last> is valid and will overwrite the last printed value with the "
1085 "assigned value. The newly assigned value will remain until the next number "
1086 "is printed or another value is assigned to B<last>. (Some installations may "
1087 "allow the use of a single period (.) which is not part of a number as a "
1088 "short hand notation for B<last>.)"
1089 msgstr ""
1090 "Această instrucțiune face unul din două lucruri. Dacă expresia începe cu "
1091 "„E<lt>variableE<gt> E<lt>assignmentE<gt> ...”, aceasta este considerată a fi "
1092 "o instrucțiune de atribuire. Dacă expresia nu este o instrucțiune de "
1093 "atribuire, expresia este evaluată și imprimată la ieșire. După imprimarea "
1094 "numărului, este imprimată o linie nouă. De exemplu, „a=1” este o "
1095 "instrucțiune de atribuire, iar „(a=1)” este o expresie care are o atribuire "
1096 "încorporată. Toate numerele care sunt imprimate sunt imprimate în baza "
1097 "specificată de variabila B<obase>. Valorile valide pentru B<obase> sunt de "
1098 "la 2 până la BC_BASE_MAX; (ase vedea secțiunea LIMITE.) Pentru bazele de la "
1099 "2 la 16, se utilizează metoda obișnuită de scriere a numerelor. Pentru baze "
1100 "mai mari de 16, B<bc> utilizează o metodă de imprimare a cifrelor cu mai "
1101 "multe caractere, în care fiecare cifră de bază superioară este imprimată ca "
1102 "un număr de bază 10. Cifrele cu mai multe caractere sunt separate prin "
1103 "spații. Fiecare cifră conține numărul de caractere necesare pentru a "
1104 "reprezenta valoarea în bază zece a „obase-1”. Deoarece numerele sunt de o "
1105 "precizie arbitrară, este posibil ca unele numere să nu poată fi imprimate pe "
1106 "o singură linie de ieșire. Aceste numere lungi vor fi împărțite pe linii "
1107 "folosind „\\e” ca ultim caracter pe o linie. Numărul maxim de caractere "
1108 "imprimate pe linie este de 70. Datorită naturii interactive a B<bc>, "
1109 "imprimarea unui număr are ca efect secundar atribuirea valorii imprimate "
1110 "variabilei speciale B<last>. Acest lucru permite utilizatorului să "
1111 "recupereze ultima valoare imprimată fără a fi nevoit să rescrie expresia "
1112 "care a imprimat numărul. Atribuirea la B<last> este valabilă și va "
1113 "suprascrie ultima valoare imprimată cu valoarea atribuită. Valoarea nou "
1114 "atribuită va rămâne până la imprimarea următorului număr sau până la "
1115 "atribuirea unei alte valori la B<last>; (unele instalații pot permite "
1116 "utilizarea unui singur punct (.) care nu face parte dintr-un număr ca "
1117 "notație scurtă pentru B<last>)."
1118
1119 #. type: IP
1120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1122 #, no-wrap
1123 msgid "string"
1124 msgstr "șir"
1125
1126 #. type: Plain text
1127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1129 msgid ""
1130 "The string is printed to the output. Strings start with a double quote "
1131 "character and contain all characters until the next double quote character. "
1132 "All characters are take literally, including any newline. No newline "
1133 "character is printed after the string."
1134 msgstr ""
1135 "Șirul este imprimat la ieșire. Șirurile încep cu un caracter de ghilimele "
1136 "duble și conțin toate caracterele până la următorul caracter de ghilimele "
1137 "duble. Toate caracterele sunt luate literal, inclusiv orice linie nouă. După "
1138 "șir nu se imprimă niciun caracter de linie nouă."
1139
1140 #. type: IP
1141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1143 #, no-wrap
1144 msgid "B<print> list"
1145 msgstr "B<print> listă"
1146
1147 #. type: Plain text
1148 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1149 #: opensuse-tumbleweed
1150 msgid ""
1151 "The print statement (an extension) provides another method of output. The "
1152 "\"list\" is a list of strings and expressions separated by commas. Each "
1153 "string or expression is printed in the order of the list. No terminating "
1154 "newline is printed. Expressions are evaluated and their value is printed "
1155 "and assigned to the variable B<last>. Strings in the print statement are "
1156 "printed to the output and may contain special characters. Special "
1157 "characters start with the backslash character (\\e). The special characters "
1158 "recognized by B<bc> are \"a\" (alert or bell), \"b\" (backspace), \"f\" "
1159 "(form feed), \"n\" (newline), \"r\" (carriage return), \"q\" (double quote), "
1160 "\"t\" (tab), and \"\\e\" (backslash). Any other character following the "
1161 "backslash will be ignored."
1162 msgstr ""
1163 "Instrucțiunea print (o extensie) oferă o altă metodă de ieșire. „Lista” este "
1164 "o listă de șiruri de caractere și expresii separate prin virgule. Fiecare "
1165 "șir sau expresie este imprimată în ordinea din listă. Nu se imprimă nicio "
1166 "linie nouă de încheiere. Expresiile sunt evaluate, iar valoarea lor este "
1167 "imprimată și atribuită variabilei B<last>. Șirurile de caractere din "
1168 "instrucțiunea print sunt imprimate la ieșire și pot conține caractere "
1169 "speciale. Caracterele speciale încep cu caracterul de bară oblică inversă "
1170 "(\\e). Caracterele speciale recunoscute de B<bc> sunt „a” (alertă sau "
1171 "clopoțel), „b” (backspace), „f” (salt de pagină), „n” (linie nouă), „r” "
1172 "(retur de cărucior), „q” (ghilimele duble), „t” (tabulator) și „\\e” (bară "
1173 "oblică inversă). Orice alt caracter care urmează barei inverse va fi ignorat."
1174
1175 #. type: IP
1176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1178 #, no-wrap
1179 msgid "{ statement_list }"
1180 msgstr "{ listă_instrucțiuni }"
1181
1182 #. type: Plain text
1183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1185 msgid ""
1186 "This is the compound statement. It allows multiple statements to be grouped "
1187 "together for execution."
1188 msgstr ""
1189 "Aceasta este instrucțiunea compusă. Aceasta permite gruparea mai multor "
1190 "instrucțiuni pentru execuție."
1191
1192 #. type: IP
1193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1195 #, no-wrap
1196 msgid "B<if> ( expression ) statement1 [B<else> statement2]"
1197 msgstr "B<if> ( expresie ) instrucțiune1 [B<else> instrucțiune2]"
1198
1199 #. type: Plain text
1200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1202 msgid ""
1203 "The if statement evaluates the expression and executes statement1 or "
1204 "statement2 depending on the value of the expression. If the expression is "
1205 "non-zero, statement1 is executed. If statement2 is present and the value of "
1206 "the expression is 0, then statement2 is executed. (The else clause is an "
1207 "extension.)"
1208 msgstr ""
1209 "Instrucțiunea if evaluează expresia și execută instrucțiunea1 sau "
1210 "instrucțiunea2 în funcție de valoarea expresiei. Dacă expresia este diferită "
1211 "de zero, se execută instrucțiunea1. Dacă instrucțiunea2 este prezentă și "
1212 "valoarea expresiei este 0, atunci instrucțiunea2 este executată; (clauza "
1213 "else este o extensie)."
1214
1215 #. type: IP
1216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1218 #, no-wrap
1219 msgid "B<while> ( expression ) statement"
1220 msgstr "B<while> ( expresie ) instrucțiune"
1221
1222 #. type: Plain text
1223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1225 msgid ""
1226 "The while statement will execute the statement while the expression is non-"
1227 "zero. It evaluates the expression before each execution of the statement. "
1228 "Termination of the loop is caused by a zero expression value or the "
1229 "execution of a break statement."
1230 msgstr ""
1231 "Instrucțiunea while va executa instrucțiunea în timp ce expresia este "
1232 "diferită de zero. Aceasta evaluează expresia înainte de fiecare execuție a "
1233 "instrucțiunii. Încheierea buclei este cauzată de o valoare zero a expresiei "
1234 "sau de executarea unei instrucțiuni break."
1235
1236 #. type: IP
1237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1239 #, no-wrap
1240 msgid "B<for> ( [expression1] ; [expression2] ; [expression3] ) statement"
1241 msgstr "B<for> ( expresie1] ; [expresie2] ; [expresie3] ) instrucțiune"
1242
1243 #. type: Plain text
1244 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1245 #: opensuse-tumbleweed
1246 msgid ""
1247 "The for statement controls repeated execution of the statement. Expression1 "
1248 "is evaluated before the loop. Expression2 is evaluated before each "
1249 "execution of the statement. If it is non-zero, the statement is evaluated. "
1250 "If it is zero, the loop is terminated. After each execution of the "
1251 "statement, expression3 is evaluated before the reevaluation of expression2. "
1252 "If expression1 or expression3 are missing, nothing is evaluated at the point "
1253 "they would be evaluated. If expression2 is missing, it is the same as "
1254 "substituting the value 1 for expression2. (The optional expressions are an "
1255 "extension. POSIX B<bc> requires all three expressions.) The following is "
1256 "equivalent code for the for statement:"
1257 msgstr ""
1258 "Instrucțiunea for controlează executarea repetată a instrucțiunii. Expresia1 "
1259 "este evaluată înainte de buclă. Expresia2 este evaluată înainte de fiecare "
1260 "execuție a instrucțiunii. Dacă este diferită de zero, instrucțiunea este "
1261 "evaluată. Dacă este zero, bucla este terminată. După fiecare execuție a "
1262 "instrucțiunii, expresia3 este evaluată înainte de reevaluarea expresiei2. "
1263 "Dacă expresia1 sau expresia3 lipsesc, nu se evaluează nimic în momentul în "
1264 "care acestea ar fi evaluate. Dacă expresia2 lipsește, este la fel ca și "
1265 "înlocuirea expresiei2 cu valoarea 1; (expresiile opționale sunt o extensie, "
1266 "POSIX B<bc> necesită toate cele trei expresii). Următorul este codul "
1267 "echivalent pentru instrucțiunea for:"
1268
1269 #. type: Plain text
1270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1272 #, no-wrap
1273 msgid ""
1274 "expression1;\n"
1275 "while (expression2) {\n"
1276 " statement;\n"
1277 " expression3;\n"
1278 "}\n"
1279 msgstr ""
1280 "expresie1;\n"
1281 "while (expresie2) {\n"
1282 " declarație\n"
1283 " expresie3;\n"
1284 "}\n"
1285
1286 #. type: IP
1287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1289 #, no-wrap
1290 msgid "B<break>"
1291 msgstr "B<break>"
1292
1293 #. type: Plain text
1294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1296 msgid ""
1297 "This statement causes a forced exit of the most recent enclosing while "
1298 "statement or for statement."
1299 msgstr ""
1300 "Această instrucțiune determină o ieșire forțată din cea mai recentă "
1301 "instrucțiune while sau for care o include."
1302
1303 #. type: IP
1304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1306 #, no-wrap
1307 msgid "B<continue>"
1308 msgstr "B<continue>"
1309
1310 #. type: Plain text
1311 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1312 #: opensuse-tumbleweed
1313 msgid ""
1314 "The continue statement (an extension) causes the most recent enclosing for "
1315 "statement to start the next iteration."
1316 msgstr ""
1317 "Instrucțiunea continue (o extensie) face ca cea mai recentă instrucțiune for "
1318 "să înceapă următoarea iterație."
1319
1320 #. type: IP
1321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1323 #, no-wrap
1324 msgid "B<halt>"
1325 msgstr "B<halt>"
1326
1327 #. type: Plain text
1328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1330 msgid ""
1331 "The halt statement (an extension) is an executed statement that causes the "
1332 "B<bc> processor to quit only when it is executed. For example, \"if (0 == "
1333 "1) halt\" will not cause B<bc> to terminate because the halt is not executed."
1334 msgstr ""
1335 "Instrucțiunea halt (o extensie) este o instrucțiune executată care determină "
1336 "procesorul B<bc> să se oprească numai atunci când este executată. De "
1337 "exemplu, „if (0 == 1) halt” nu va determina terminarea B<bc> deoarece "
1338 "instrucțiunea halt nu este executată."
1339
1340 #. type: IP
1341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1343 #, no-wrap
1344 msgid "B<return>"
1345 msgstr "B<return>"
1346
1347 #. type: Plain text
1348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1350 msgid "Return the value 0 from a function. (See the section on functions.)"
1351 msgstr ""
1352 "Returnează valoarea 0 de la o funcție; (consultați secțiunea privind "
1353 "funcțiile)."
1354
1355 #. type: IP
1356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1358 #, no-wrap
1359 msgid "B<return> ( expression )"
1360 msgstr "B<return> ( expresie )"
1361
1362 #. type: Plain text
1363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1365 msgid ""
1366 "Return the value of the expression from a function. (See the section on "
1367 "functions.) As an extension, the parenthesis are not required."
1368 msgstr ""
1369 "Returnează valoarea expresiei dintr-o funcție; (consultați secțiunea privind "
1370 "funcțiile). Ca extensie, parantezele nu sunt necesare."
1371
1372 #. type: SS
1373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1375 #, no-wrap
1376 msgid "PSEUDO STATEMENTS"
1377 msgstr "PSEUDO INSTRUCȚIUNI"
1378
1379 #. type: Plain text
1380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1382 msgid ""
1383 "These statements are not statements in the traditional sense. They are not "
1384 "executed statements. Their function is performed at \"compile\" time."
1385 msgstr ""
1386 "Aceste instrucțiuni nu sunt instrucțiuni în sensul tradițional. Ele nu sunt "
1387 "instrucțiuni executate. Funcția lor este îndeplinită la momentul "
1388 "„compilării”."
1389
1390 #. type: IP
1391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1393 #, no-wrap
1394 msgid "B<limits>"
1395 msgstr "B<limits>"
1396
1397 #. type: Plain text
1398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1400 msgid ""
1401 "Print the local limits enforced by the local version of B<bc>. This is an "
1402 "extension."
1403 msgstr ""
1404 "Afișează limitele locale impuse de versiunea locală a B<bc>. Aceasta este o "
1405 "extensie."
1406
1407 #. type: IP
1408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1410 #, no-wrap
1411 msgid "B<quit>"
1412 msgstr "B<quit>"
1413
1414 #. type: Plain text
1415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1417 msgid ""
1418 "When the quit statement is read, the B<bc> processor is terminated, "
1419 "regardless of where the quit statement is found. For example, \"if (0 == 1) "
1420 "quit\" will cause B<bc> to terminate."
1421 msgstr ""
1422 "Atunci când instrucțiunea quit este citită, procesorul B<bc> se termină, "
1423 "indiferent unde se găsește instrucțiunea quit. De exemplu, „if (0 == 1) "
1424 "quit” va determina terminarea procesorului B<bc>."
1425
1426 #. type: IP
1427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1429 #, no-wrap
1430 msgid "B<warranty>"
1431 msgstr "B<warranty>"
1432
1433 #. type: Plain text
1434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1436 msgid "Print a longer warranty notice. This is an extension."
1437 msgstr "Afișează o notificare de garanție mai lungă. Aceasta este o extensie."
1438
1439 #. type: SS
1440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1442 #, no-wrap
1443 msgid "FUNCTIONS"
1444 msgstr "FUNCȚII"
1445
1446 #. type: Plain text
1447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1449 msgid ""
1450 "Functions provide a method of defining a computation that can be executed "
1451 "later. Functions in B<bc> always compute a value and return it to the "
1452 "caller. Function definitions are \"dynamic\" in the sense that a function "
1453 "is undefined until a definition is encountered in the input. That "
1454 "definition is then used until another definition function for the same name "
1455 "is encountered. The new definition then replaces the older definition. A "
1456 "function is defined as follows:"
1457 msgstr ""
1458 "Funcțiile oferă o metodă de definire a unui calcul care poate fi executat "
1459 "ulterior. Funcțiile din B<bc> calculează întotdeauna o valoare și o "
1460 "returnează apelantului. Definițiile funcțiilor sunt „dinamice” în sensul că "
1461 "o funcție este nedefinită până când o definiție este întâlnită în intrare. "
1462 "Acea definiție este apoi utilizată până când este întâlnită o altă funcție "
1463 "de definiție pentru același nume. Noua definiție înlocuiește atunci vechea "
1464 "definiție. O funcție este definită după cum urmează:"
1465
1466 #. type: Plain text
1467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1469 #, no-wrap
1470 msgid ""
1471 "B<define >I<name >B<( >I<parameters >B<) { >I<newline\n"
1472 " auto_list statement_list >B<}>\n"
1473 msgstr ""
1474 "B<define >I<nume>B<( >I<parametri >B<) { >I<linie nouă\n"
1475 " listă_auto listă_de_instrucțiuni >B<}>\n"
1476
1477 #. type: Plain text
1478 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1479 #: opensuse-tumbleweed
1480 msgid ""
1481 "A function call is just an expression of the form "
1482 "\"I<name>B<(>I<parameters>B<)>\"."
1483 msgstr ""
1484 "Un apel de funcție este doar o expresie de forma "
1485 "„I<nume>B<(>I<parametri>B<)>”."
1486
1487 #. type: Plain text
1488 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1489 #: opensuse-tumbleweed
1490 msgid ""
1491 "Parameters are numbers or arrays (an extension). In the function "
1492 "definition, zero or more parameters are defined by listing their names "
1493 "separated by commas. All parameters are call by value parameters. Arrays "
1494 "are specified in the parameter definition by the notation \"I<name>B<[]>\". "
1495 "In the function call, actual parameters are full expressions for number "
1496 "parameters. The same notation is used for passing arrays as for defining "
1497 "array parameters. The named array is passed by value to the function. "
1498 "Since function definitions are dynamic, parameter numbers and types are "
1499 "checked when a function is called. Any mismatch in number or types of "
1500 "parameters will cause a runtime error. A runtime error will also occur for "
1501 "the call to an undefined function."
1502 msgstr ""
1503 "Parametrii sunt numere sau matrici (o extensie). În definiția funcției, zero "
1504 "sau mai mulți parametri sunt definiți prin enumerarea numelor lor separate "
1505 "prin virgulă. Toți parametrii sunt parametrii de apel prin valoare. "
1506 "Matricele sunt specificate în definiția parametrilor prin notația "
1507 "„I<nume>B<[]>”. În apelul funcției, parametrii efectivi sunt expresii "
1508 "complete pentru parametrii numerici. Pentru pasarea matricelor se utilizează "
1509 "aceeași notație ca și pentru definirea parametrilor matricelor. Matricea "
1510 "numită este pasată prin valoare către funcție. Deoarece definițiile "
1511 "funcțiilor sunt dinamice, numărul și tipul parametrilor sunt verificate "
1512 "atunci când se apelează o funcție. Orice neconcordanță în ceea ce privește "
1513 "numărul sau tipurile de parametri va provoca o eroare în timpul execuției. O "
1514 "eroare de execuție va apărea și în cazul apelării unei funcții nedefinite."
1515
1516 #. type: Plain text
1517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1519 msgid ""
1520 "The I<auto_list> is an optional list of variables that are for \"local\" "
1521 "use. The syntax of the auto list (if present) is \"B<auto >I<name>, ... ;"
1522 "\". (The semicolon is optional.) Each I<name> is the name of an auto "
1523 "variable. Arrays may be specified by using the same notation as used in "
1524 "parameters. These variables have their values pushed onto a stack at the "
1525 "start of the function. The variables are then initialized to zero and used "
1526 "throughout the execution of the function. At function exit, these variables "
1527 "are popped so that the original value (at the time of the function call) of "
1528 "these variables are restored. The parameters are really auto variables that "
1529 "are initialized to a value provided in the function call. Auto variables "
1530 "are different than traditional local variables because if function A calls "
1531 "function B, B may access function A's auto variables by just using the same "
1532 "name, unless function B has called them auto variables. Due to the fact "
1533 "that auto variables and parameters are pushed onto a stack, B<bc> supports "
1534 "recursive functions."
1535 msgstr ""
1536 "I<auto_list> este o listă opțională de variabile care sunt pentru utilizare "
1537 "„locală”. Sintaxa listei auto (dacă este prezentă) este „B<auto "
1538 ">I<nume>, ... ;”. (Punctul și virgula este opțional.) Fiecare I<nume> este "
1539 "numele unei variabile auto. Matricele pot fi specificate prin utilizarea "
1540 "aceleiași notații ca în cazul parametrilor. Aceste variabile au valorile lor "
1541 "plasate pe o stivă la începutul funcției. Variabilele sunt apoi inițializate "
1542 "la zero și utilizate pe parcursul execuției funcției. La ieșirea din "
1543 "funcție, aceste variabile sunt scoase, astfel încât valoarea inițială (la "
1544 "momentul apelului funcției) a acestor variabile să fie restaurată. "
1545 "Parametrii sunt de fapt variabile automate care sunt inițializate la o "
1546 "valoare furnizată în apelul funcției. Variabilele automate sunt diferite de "
1547 "variabilele locale tradiționale deoarece, dacă funcția A apelează funcția B, "
1548 "B poate accesa variabilele automate ale funcției A folosind doar același "
1549 "nume, cu excepția cazului în care funcția B le-a numit variabile automate. "
1550 "Datorită faptului că variabilele automate și parametrii sunt plasați pe o "
1551 "stivă, B<bc> acceptă funcții recursive."
1552
1553 #. type: Plain text
1554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1556 msgid ""
1557 "The function body is a list of B<bc> statements. Again, statements are "
1558 "separated by semicolons or newlines. Return statements cause the "
1559 "termination of a function and the return of a value. There are two versions "
1560 "of the return statement. The first form, \"B<return>\", returns the value 0 "
1561 "to the calling expression. The second form, \"B<return ( >I<expression "
1562 ">B<)>\", computes the value of the expression and returns that value to the "
1563 "calling expression. There is an implied \"B<return (0)>\" at the end of "
1564 "every function. This allows a function to terminate and return 0 without an "
1565 "explicit return statement."
1566 msgstr ""
1567 "Corpul funcției este o listă de instrucțiuni B<bc>. Din nou, instrucțiunile "
1568 "sunt separate prin punct și virgulă sau linii noi. Instrucțiunile return "
1569 "determină terminarea unei funcții și returnarea unei valori. Există două "
1570 "versiuni ale instrucțiunii return. Prima formă, „B<return>”, returnează "
1571 "valoarea 0 la expresia apelantă. A doua formă, „B<return ( >I<expresie "
1572 ">B<)>”, calculează valoarea expresiei și returnează această valoare "
1573 "expresiei apelante. Există un „B<return (0)>” implicit la sfârșitul fiecărei "
1574 "funcții. Acest lucru permite unei funcții să se încheie și să returneze 0 "
1575 "fără o instrucțiune de returnare explicită."
1576
1577 #. type: Plain text
1578 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1579 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1580 msgid ""
1581 "Functions also change the usage of the variable B<ibase>. All constants in "
1582 "the function body will be converted using the value of B<ibase> at the time "
1583 "of the function call. Changes of B<ibase> will be ignored during the "
1584 "execution of the function except for the standard function B<read>, which "
1585 "will always use the current value of B<ibase> for conversion of numbers."
1586 msgstr ""
1587 "Funcțiile modifică, de asemenea, utilizarea variabilei B<ibase>. Toate "
1588 "constantele din corpul funcției vor fi convertite folosind valoarea lui "
1589 "B<ibase> la momentul apelului funcției. Modificările lui B<ibase> vor fi "
1590 "ignorate în timpul executării funcției, cu excepția funcției standard "
1591 "B<read>, care va utiliza întotdeauna valoarea curentă a lui B<ibase> pentru "
1592 "conversia numerelor."
1593
1594 #. type: Plain text
1595 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1596 msgid ""
1597 "Several extensions have been added to functions. First, the format of the "
1598 "definition has been slightly relaxed. The standard requires the opening "
1599 "brace be on the same line as the B<define> keyword and all other parts must "
1600 "be on following lines. This version of B<bc> will allow any number of "
1601 "newlines before and after the opening brace of the function. For example, "
1602 "the following definitions are valid."
1603 msgstr ""
1604 "Funcțiilor le-au fost adăugate mai multe extensii. În primul rând, formatul "
1605 "definiției a fost ușor relaxat. Standardul cere ca acolada de deschidere să "
1606 "fie pe aceeași linie cu cuvântul-cheie B<define> și toate celelalte părți "
1607 "trebuie să fie pe liniile următoare. Această versiune a B<bc> va permite "
1608 "orice număr de linii noi înainte și după acolada de deschidere a funcției. "
1609 "De exemplu, următoarele definiții sunt valabile."
1610
1611 #. type: Plain text
1612 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1613 #, no-wrap
1614 msgid ""
1615 "\\f(CR\n"
1616 "define d (n) { return (2*n); }\n"
1617 "define d (n)\n"
1618 " { return (2*n); }\\fR\n"
1619 msgstr ""
1620 "\\f(CR\n"
1621 "define d (n) { return (2*n); }\n"
1622 "define d (n)\n"
1623 " { return (2*n); }\\fR\n"
1624
1625 #. type: Plain text
1626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1627 #: mageia-cauldron opensuse-tumbleweed
1628 msgid ""
1629 "Functions may be defined as B<void>. A void function returns no value and "
1630 "thus may not be used in any place that needs a value. A void function does "
1631 "not produce any output when called by itself on an input line. The key word "
1632 "B<void> is placed between the key word B<define> and the function name. For "
1633 "example, consider the following session."
1634 msgstr ""
1635 "Funcțiile pot fi definite ca B<void>. O funcție vidă nu returnează nicio "
1636 "valoare și, prin urmare, nu poate fi utilizată în niciun loc care necesită o "
1637 "valoare. O funcție vidă nu produce niciun rezultat atunci când este apelată "
1638 "singură pe o linie de intrare. Cuvântul cheie B<void> este plasat între "
1639 "cuvântul cheie B<define> și numele funcției. De exemplu, luați în "
1640 "considerare următoarea sesiune."
1641
1642 #. type: Plain text
1643 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1644 #, no-wrap
1645 msgid ""
1646 "\\f(CR\n"
1647 "define py (y) { print \"---E<gt>\", y, \"E<lt>---\", \"\\en\"; }\n"
1648 "define void px (x) { print \"---E<gt>\", x, \"E<lt>---\", \"\\en\"; }\n"
1649 "py(1)\n"
1650 "---E<gt>1E<lt>---\n"
1651 "0\n"
1652 "px(1)\n"
1653 "---E<gt>1E<lt>---\\fR\n"
1654 msgstr ""
1655 "\\f(CR\n"
1656 "define py (y) { print \"---E<gt>\", y, \"E<lt>---\", \"\\en\"; }\n"
1657 "define void px (x) { print \"---E<gt>\", x, \"E<lt>---\", \"\\en\"; }\n"
1658 "py(1)\n"
1659 "---E<gt>1E<lt>---\n"
1660 "0\n"
1661 "px(1)\n"
1662 "---E<gt>1E<lt>---\\fR\n"
1663
1664 #. type: Plain text
1665 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1666 msgid ""
1667 "\\f(CRSince B<py> is not a void function, the call of B<py(1)> prints the "
1668 "desired output and then prints a second line that is the value of the "
1669 "function. Since the value of a function that is not given an explicit "
1670 "return statement is zero, the zero is printed. For B<px(1)>, no zero is "
1671 "printed because the function is a void function."
1672 msgstr ""
1673 "\\f(CRDin moment ce B<py> nu este o funcție nulă (void), apelul la B<py(1)> "
1674 "imprimă rezultatul dorit și apoi imprimă o a doua linie care este valoarea "
1675 "funcției. Deoarece valoarea unei funcții care nu primește o instrucțiune de "
1676 "revenire explicită este zero, se imprimă zero. Pentru B<px(1)>, nu se "
1677 "imprimă niciun zero deoarece funcția este o funcție nulă."
1678
1679 #. type: Plain text
1680 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1681 #: opensuse-tumbleweed
1682 msgid ""
1683 "Also, call by variable for arrays was added. To declare a call by variable "
1684 "array, the declaration of the array parameter in the function definition "
1685 "looks like \"I<*name>B<[]>\". The call to the function remains the same as "
1686 "call by value arrays."
1687 msgstr ""
1688 "De asemenea, a fost adăugat apelul prin variabilă pentru matrice. Pentru a "
1689 "declara o matrice cu apel prin variabilă, declarația parametrului matricei "
1690 "în definiția funcției arată ca „I<*nume>B<[]>”. Apelul la funcție rămâne "
1691 "același ca în cazul apelului prin valoare a matricelor."
1692
1693 #. type: SS
1694 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1695 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1696 #, no-wrap
1697 msgid "MATH LIBRARY"
1698 msgstr "BIBLIOTECA DE MATEMATICĂ"
1699
1700 #. type: Plain text
1701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1703 msgid ""
1704 "If B<bc> is invoked with the B<-l> option, a math library is preloaded and "
1705 "the default scale is set to 20. The math functions will calculate their "
1706 "results to the scale set at the time of their call. The math library "
1707 "defines the following functions:"
1708 msgstr ""
1709 "Dacă B<bc> este invocat cu opțiunea B<-l>, o bibliotecă de matematică este "
1710 "preîncărcată, iar scala implicită este fixată la 20. Funcțiile matematice "
1711 "își vor calcula rezultatele la scala stabilită în momentul apelării lor. "
1712 "Biblioteca de matematică definește următoarele funcții:"
1713
1714 #. type: IP
1715 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1716 #: opensuse-tumbleweed
1717 #, no-wrap
1718 msgid "s (I<x>)"
1719 msgstr "s (I<x>)"
1720
1721 #. type: Plain text
1722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1724 msgid "The sine of x, x is in radians."
1725 msgstr "Sinusul lui x, x este exprimat în radiani."
1726
1727 #. type: IP
1728 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1729 #: opensuse-tumbleweed
1730 #, no-wrap
1731 msgid "c (I<x>)"
1732 msgstr "c (I<x>)"
1733
1734 #. type: Plain text
1735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1737 msgid "The cosine of x, x is in radians."
1738 msgstr "Cosinusul lui x, x este exprimat în radiani."
1739
1740 #. type: IP
1741 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1742 #: opensuse-tumbleweed
1743 #, no-wrap
1744 msgid "a (I<x>)"
1745 msgstr "a (I<x>)"
1746
1747 #. type: Plain text
1748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1750 msgid "The arctangent of x, arctangent returns radians."
1751 msgstr "Arctangenta lui x, arctangenta returnează radiani."
1752
1753 #. type: IP
1754 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1755 #: opensuse-tumbleweed
1756 #, no-wrap
1757 msgid "l (I<x>)"
1758 msgstr "l (I<x>)"
1759
1760 #. type: Plain text
1761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1763 msgid "The natural logarithm of x."
1764 msgstr "Logaritmul natural al lui x."
1765
1766 #. type: IP
1767 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1768 #: opensuse-tumbleweed
1769 #, no-wrap
1770 msgid "e (I<x>)"
1771 msgstr "e (I<x>)"
1772
1773 #. type: Plain text
1774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1776 msgid "The exponential function of raising e to the value x."
1777 msgstr "The exponential function of raising e to the value x."
1778
1779 #. type: IP
1780 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
1781 #: opensuse-tumbleweed
1782 #, no-wrap
1783 msgid "j (I<n,x>)"
1784 msgstr "j (I<n,x>)"
1785
1786 #. type: Plain text
1787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1789 msgid "The Bessel function of integer order n of x."
1790 msgstr "Funcția Bessel de ordin întreg n a lui x."
1791
1792 #. type: SS
1793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1795 #, no-wrap
1796 msgid "EXAMPLES"
1797 msgstr "EXEMPLE"
1798
1799 #. type: Plain text
1800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1802 msgid ""
1803 "In /bin/sh, the following will assign the value of \"pi\" to the shell "
1804 "variable B<pi>."
1805 msgstr ""
1806 "În /bin/sh, următorul text va atribui valoarea „pi” variabilei shell B<pi>."
1807
1808 #. type: Plain text
1809 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1810 msgid "\\f(CR pi=$(echo \"scale=10; 4*a(1)\" | bc -l)\\fR"
1811 msgstr "\\f(CR pi=$(echo \"scale=10; 4*a(1)\" | bc -l)\\fR"
1812
1813 #. type: Plain text
1814 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1815 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1816 msgid ""
1817 "The following is the definition of the exponential function used in the math "
1818 "library. This function is written in POSIX B<bc>."
1819 msgstr ""
1820 "The following is the definition of the exponential function used in the math "
1821 "library. This function is written in POSIX B<bc>."
1822
1823 #. type: Plain text
1824 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1825 #, no-wrap
1826 msgid ""
1827 "\\f(CR\n"
1828 "scale = 20\\fR\n"
1829 msgstr ""
1830 "\\f(CR\n"
1831 "scale = 20\\fR\n"
1832
1833 #. type: Plain text
1834 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1835 #, no-wrap
1836 msgid ""
1837 "\\f(CR/* Uses the fact that e^x = (e^(x/2))^2\n"
1838 " When x is small enough, we use the series:\n"
1839 " e^x = 1 + x + x^2/2! + x^3/3! + ...\n"
1840 "*/\\fR\n"
1841 msgstr ""
1842 "\\f(CR/* Folosește faptul că e^x = (e^(x/2))^2\n"
1843 " Când x este suficient de mic, se folosește seria:\n"
1844 " e^x = 1 + x + x^2/2! + x^3/3! + ...\n"
1845 "*/\\fR\n"
1846
1847 #. type: Plain text
1848 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1849 #, no-wrap
1850 msgid ""
1851 "\\f(CRdefine e(x) {\n"
1852 " auto a, d, e, f, i, m, v, z\\fR\n"
1853 msgstr ""
1854 "\\f(CRdefine e(x) {\n"
1855 " auto a, d, e, f, i, m, v, z\\fR\n"
1856
1857 #. type: Plain text
1858 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1859 #, no-wrap
1860 msgid ""
1861 "\\f(CR /* Check the sign of x. */\n"
1862 " if (xE<lt>0) {\n"
1863 " m = 1\n"
1864 " x = -x\n"
1865 " }\\fR\n"
1866 msgstr ""
1867 "\\f(CR /* Verifică semnul lui x. */\n"
1868 " if (xE<lt>0) {\n"
1869 " m = 1\n"
1870 " x = -x\n"
1871 " }\\fR\n"
1872
1873 #. type: Plain text
1874 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1875 #, no-wrap
1876 msgid ""
1877 "\\f(CR /* Precondition x. */\n"
1878 " z = scale;\n"
1879 " scale = 4 + z + .44*x;\n"
1880 " while (x E<gt> 1) {\n"
1881 " f += 1;\n"
1882 " x /= 2;\n"
1883 " }\\fR\n"
1884 msgstr ""
1885 "\\f(CR /* Precondiție x. */\n"
1886 " z = scale;\n"
1887 " scale = 4 + z + .44*x;\n"
1888 " while (x E<gt> 1) {\n"
1889 " f += 1;\n"
1890 " x /= 2;\n"
1891 " }\\fR\n"
1892
1893 #. type: Plain text
1894 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1895 #, no-wrap
1896 msgid ""
1897 "\\f(CR /* Initialize the variables. */\n"
1898 " v = 1+x\n"
1899 " a = x\n"
1900 " d = 1\\fR\n"
1901 msgstr ""
1902 "\\f(CR /* Inițializează variabilele. */\n"
1903 " v = 1+x\n"
1904 " a = x\n"
1905 " d = 1\\fR\n"
1906
1907 #. type: Plain text
1908 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1909 #, no-wrap
1910 msgid ""
1911 "\\f(CR for (i=2; 1; i++) {\n"
1912 " e = (a *= x) / (d *= i)\n"
1913 " if (e == 0) {\n"
1914 " if (fE<gt>0) while (f--) v = v*v;\n"
1915 " scale = z\n"
1916 " if (m) return (1/v);\n"
1917 " return (v/1);\n"
1918 " }\n"
1919 " v += e\n"
1920 " }\n"
1921 "}\\fR\n"
1922 msgstr ""
1923 "\\f(CR for (i=2; 1; i++) {\n"
1924 " e = (a *= x) / (d *= i)\n"
1925 " if (e == 0) {\n"
1926 " if (fE<gt>0) while (f--) v = v*v;\n"
1927 " scale = z\n"
1928 " if (m) return (1/v);\n"
1929 " return (v/1);\n"
1930 " }\n"
1931 " v += e\n"
1932 " }\n"
1933 "}\\fR\n"
1934
1935 #. type: Plain text
1936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1938 msgid ""
1939 "The following is code that uses the extended features of B<bc> to implement "
1940 "a simple program for calculating checkbook balances. This program is best "
1941 "kept in a file so that it can be used many times without having to retype it "
1942 "at every use."
1943 msgstr ""
1944 "În continuare este prezentat codul care utilizează caracteristicile extinse "
1945 "ale B<bc> pentru a implementa un program simplu de calculare a soldurilor "
1946 "carnetului de cecuri. Acest program este cel mai bine să fie păstrat într-un "
1947 "fișier pentru a putea fi utilizat de mai multe ori fără a fi nevoie să îl "
1948 "rescrieți la fiecare utilizare."
1949
1950 #. type: Plain text
1951 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1952 #, no-wrap
1953 msgid ""
1954 "\\f(CR\n"
1955 "scale=2\n"
1956 "print \"\\enCheck book program!\\en\"\n"
1957 "print \" Remember, deposits are negative transactions.\\en\"\n"
1958 "print \" Exit by a 0 transaction.\\en\\en\"\\fR\n"
1959 msgstr ""
1960 "\\f(CR\n"
1961 "scale=2\n"
1962 "print „\\enProgramul registrului de balanțe!\\en”\n"
1963 "print „ Țineți minte, depozitele sunt tranzacții negative.\\en”\n"
1964 "print „ Ieșire printr-o tranzacție 0.\\en\\en”\\fR\n"
1965
1966 #. type: Plain text
1967 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
1968 #, no-wrap
1969 msgid ""
1970 "\\f(CRprint \"Initial balance? \"; bal = read()\n"
1971 "bal /= 1\n"
1972 "print \"\\en\"\n"
1973 "while (1) {\n"
1974 " \"current balance = \"; bal\n"
1975 " \"transaction? \"; trans = read()\n"
1976 " if (trans == 0) break;\n"
1977 " bal -= trans\n"
1978 " bal /= 1\n"
1979 "}\n"
1980 "quit\\fR\n"
1981 msgstr ""
1982 "\\f(CRprint \"Soldul inițial? \"; bal = read()\n"
1983 "bal /= 1\n"
1984 "print \"\\en\"\n"
1985 "while (1) {\n"
1986 " \"current balance = \"; bal\n"
1987 " \"transaction? \"; trans = read()\n"
1988 " if (trans == 0) break;\n"
1989 " bal -= trans\n"
1990 " bal /= 1\n"
1991 "}\n"
1992 "quit\\fR\n"
1993
1994 #. type: Plain text
1995 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1996 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1997 msgid "The following is the definition of the recursive factorial function."
1998 msgstr "Următoarea este definiția funcției factoriale recursive."
1999
2000 #. type: Plain text
2001 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
2002 #, no-wrap
2003 msgid ""
2004 "\\f(CR\n"
2005 "define f (x) {\n"
2006 " if (x E<lt>= 1) return (1);\n"
2007 " return (f(x-1) * x);\n"
2008 "}\\fR\n"
2009 msgstr ""
2010 "\\f(CR\n"
2011 "define f (x) {\n"
2012 " if (x E<lt>= 1) return (1);\n"
2013 " return (f(x-1) * x);\n"
2014 "}\\fR\n"
2015
2016 #. type: SS
2017 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2018 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2019 #, no-wrap
2020 msgid "READLINE AND LIBEDIT OPTIONS"
2021 msgstr "OPȚIUNI PENTRU READLINE ȘI LIBEDIT"
2022
2023 #. type: Plain text
2024 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
2025 #: opensuse-tumbleweed
2026 msgid ""
2027 "GNU B<bc> can be compiled (via a configure option) to use the GNU "
2028 "B<readline> input editor library or the BSD B<libedit> library. This allows "
2029 "the user to do editing of lines before sending them to B<bc>. It also "
2030 "allows for a history of previous lines typed. When this option is selected, "
2031 "B<bc> has one more special variable. This special variable, B<history> is "
2032 "the number of lines of history retained. For B<readline>, a value of -1 "
2033 "means that an unlimited number of history lines are retained. Setting the "
2034 "value of B<history> to a positive number restricts the number of history "
2035 "lines to the number given. The value of 0 disables the history feature. "
2036 "The default value is 100. For more information, read the user manuals for "
2037 "the GNU B<readline>, B<history> and BSD B<libedit> libraries. One can not "
2038 "enable both B<readline> and B<libedit> at the same time."
2039 msgstr ""
2040 "B<bc> GNU poate fi compilat (prin intermediul unei opțiuni configure) pentru "
2041 "a utiliza biblioteca editorului de intrare GNU B<readline> sau biblioteca "
2042 "BSD B<libedit>. Acest lucru permite utilizatorului să editeze liniile "
2043 "înainte de a le trimite la B<bc>. De asemenea, permite un istoric al "
2044 "liniilor tastate anterior. Când această opțiune este selectată, B<bc> mai "
2045 "are o variabilă specială. Această variabilă specială, B<history> este "
2046 "numărul de linii de istoric reținute. Pentru B<readline>, o valoare de -1 "
2047 "înseamnă că se păstrează un număr nelimitat de linii de istoric. Stabilirea "
2048 "valorii B<history> la un număr pozitiv limitează numărul de linii de istoric "
2049 "la numărul dat. Valoarea 0 dezactivează funcția de istoric. Valoarea "
2050 "implicită este 100. Pentru mai multe informații, citiți manualele de "
2051 "utilizare pentru bibliotecile GNU B<readline>, B<history> și BSD B<libedit>. "
2052 "Nu se pot activa în același timp B<readline> și B<libedit>."
2053
2054 #. type: SS
2055 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2056 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2057 #, no-wrap
2058 msgid "DIFFERENCES"
2059 msgstr "DIFERENȚE"
2060
2061 #. type: Plain text
2062 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
2063 msgid ""
2064 "This version of B<bc> was implemented from the POSIX P1003.2/D11 draft and "
2065 "contains several differences and extensions relative to the draft and "
2066 "traditional implementations. It is not implemented in the traditional way "
2067 "using B<dc>(1). This version is a single process which parses and runs a "
2068 "byte code translation of the program. There is an \"undocumented\" option (-"
2069 "c) that causes the program to output the byte code to the standard output "
2070 "instead of running it. It was mainly used for debugging the parser and "
2071 "preparing the math library."
2072 msgstr ""
2073 "Această versiune a B<bc> a fost implementată pornind de la proiectul POSIX "
2074 "P1003.2/D11 și conține mai multe diferențe și extensii în raport cu "
2075 "proiectul și implementările tradiționale. Aceasta nu este implementată în "
2076 "mod tradițional folosind B<dc>(1). Această versiune este un proces unic care "
2077 "analizează și execută o traducere a codului de octeți al programului. Există "
2078 "o opțiune „nedocumentată” (-c) care face ca programul să trimită codul de "
2079 "octeți la ieșirea standard în loc să îl execute. Aceasta a fost utilizată în "
2080 "principal pentru depanarea analizorului și pregătirea bibliotecii de "
2081 "matematică."
2082
2083 #. type: Plain text
2084 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2085 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2086 msgid ""
2087 "A major source of differences is extensions, where a feature is extended to "
2088 "add more functionality and additions, where new features are added. The "
2089 "following is the list of differences and extensions."
2090 msgstr ""
2091 "O sursă majoră de diferențe este reprezentată de extensii, atunci când o "
2092 "caracteristică este extinsă pentru a adăuga mai multe funcționalități și de "
2093 "adăugiri, atunci când sunt adăugate noi caracteristici. Următoarea este "
2094 "lista de diferențe și extensii."
2095
2096 #. type: IP
2097 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2098 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2099 #, no-wrap
2100 msgid "LANG environment"
2101 msgstr "variabila de mediu LANG"
2102
2103 #. type: Plain text
2104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2106 msgid ""
2107 "This version does not conform to the POSIX standard in the processing of the "
2108 "LANG environment variable and all environment variables starting with LC_."
2109 msgstr ""
2110 "Această versiune nu este conformă cu standardul POSIX în ceea ce privește "
2111 "prelucrarea variabilei de mediu LANG și a tuturor variabilelor de mediu care "
2112 "încep cu LC_."
2113
2114 #. type: IP
2115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2117 #, no-wrap
2118 msgid "names"
2119 msgstr "nume"
2120
2121 #. type: Plain text
2122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2124 msgid ""
2125 "Traditional and POSIX B<bc> have single letter names for functions, "
2126 "variables and arrays. They have been extended to be multi-character names "
2127 "that start with a letter and may contain letters, numbers and the underscore "
2128 "character."
2129 msgstr ""
2130 "B<bc> tradițional și POSIX au nume cu o singură literă pentru funcții, "
2131 "variabile și matrici. Acestea au fost extinse pentru a fi nume cu mai multe "
2132 "caractere care încep cu o literă și pot conține litere, numere și caracterul "
2133 "de subliniere."
2134
2135 #. type: IP
2136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2138 #, no-wrap
2139 msgid "Strings"
2140 msgstr "Șiruri"
2141
2142 #. type: Plain text
2143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2145 msgid ""
2146 "Strings are not allowed to contain NUL characters. POSIX says all "
2147 "characters must be included in strings."
2148 msgstr ""
2149 "Șirurile nu au voie să conțină caractere NUL. POSIX spune că toate "
2150 "caracterele trebuie să fie incluse în șiruri."
2151
2152 #. type: IP
2153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2155 #, no-wrap
2156 msgid "last"
2157 msgstr "last"
2158
2159 #. type: Plain text
2160 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
2161 #: opensuse-tumbleweed
2162 msgid ""
2163 "POSIX B<bc> does not have a B<last> variable. Some implementations of B<bc> "
2164 "use the period (.) in a similar way."
2165 msgstr ""
2166 "B<bc> POSIX nu are o variabilă B<last>. Unele implementări ale B<bc> "
2167 "utilizează punctul (.) într-un mod similar."
2168
2169 #. type: IP
2170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2172 #, no-wrap
2173 msgid "comparisons"
2174 msgstr "comparații"
2175
2176 #. type: Plain text
2177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2179 msgid ""
2180 "POSIX B<bc> allows comparisons only in the if statement, the while "
2181 "statement, and the second expression of the for statement. Also, only one "
2182 "relational operation is allowed in each of those statements."
2183 msgstr ""
2184 "B<bc> POSIX permite comparațiile numai în instrucțiunea if, instrucțiunea "
2185 "while și a doua expresie a instrucțiunii for. De asemenea, numai o operație "
2186 "relațională este permisă în fiecare dintre aceste instrucțiuni."
2187
2188 #. type: IP
2189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2191 #, no-wrap
2192 msgid "if statement, else clause"
2193 msgstr "instrucțiunea if, clauza else"
2194
2195 #. type: Plain text
2196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2198 msgid "POSIX B<bc> does not have an else clause."
2199 msgstr "B<bc> POSIX nu are o clauză else."
2200
2201 #. type: IP
2202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2204 #, no-wrap
2205 msgid "for statement"
2206 msgstr "instrucțiunea for"
2207
2208 #. type: Plain text
2209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2211 msgid ""
2212 "POSIX B<bc> requires all expressions to be present in the for statement."
2213 msgstr ""
2214 "B<bc> POSIX impune ca toate expresiile să fie prezente în instrucțiunea for."
2215
2216 #. type: IP
2217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2219 #, no-wrap
2220 msgid "&&, ||, !"
2221 msgstr "&&, ||, !"
2222
2223 #. type: Plain text
2224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2226 msgid "POSIX B<bc> does not have the logical operators."
2227 msgstr "B<bc> POSIX nu are operatori logici."
2228
2229 #. type: IP
2230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2232 #, no-wrap
2233 msgid "read function"
2234 msgstr "funcția read"
2235
2236 #. type: Plain text
2237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2239 msgid "POSIX B<bc> does not have a read function."
2240 msgstr "B<bc> POSIX nu are o funcție de citire."
2241
2242 #. type: IP
2243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2245 #, no-wrap
2246 msgid "print statement"
2247 msgstr "instrucțiunea print"
2248
2249 #. type: Plain text
2250 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
2251 #: opensuse-tumbleweed
2252 msgid "POSIX B<bc> does not have a print statement ."
2253 msgstr "B<bc> POSIX nu are o instrucțiune print ."
2254
2255 #. type: IP
2256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2258 #, no-wrap
2259 msgid "continue statement"
2260 msgstr "instrucțiunea continue"
2261
2262 #. type: Plain text
2263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2265 msgid "POSIX B<bc> does not have a continue statement."
2266 msgstr "B<bc> POSIX nu are o instrucțiune continue."
2267
2268 #. type: IP
2269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2271 #, no-wrap
2272 msgid "return statement"
2273 msgstr "instrucțiunea return"
2274
2275 #. type: Plain text
2276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2278 msgid "POSIX B<bc> requires parentheses around the return expression."
2279 msgstr "B<bc> POSIX necesită paranteze în jurul expresiei return."
2280
2281 #. type: IP
2282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2284 #, no-wrap
2285 msgid "array parameters"
2286 msgstr "parametri de matrice"
2287
2288 #. type: Plain text
2289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2291 msgid ""
2292 "POSIX B<bc> does not (currently) support array parameters in full. The "
2293 "POSIX grammar allows for arrays in function definitions, but does not "
2294 "provide a method to specify an array as an actual parameter. (This is most "
2295 "likely an oversight in the grammar.) Traditional implementations of B<bc> "
2296 "have only call by value array parameters."
2297 msgstr ""
2298 "B<bc> POSIX nu acceptă (în prezent) parametrii matricei în întregime. "
2299 "Gramatica POSIX permite utilizarea matricelor în definițiile funcțiilor, dar "
2300 "nu oferă o metodă de a specifica o matrice ca parametru real; (aceasta este, "
2301 "cel mai probabil, o omisiune a gramaticii). Implementările tradiționale ale "
2302 "B<bc> au doar parametrii de tip matrice cu apel prin valoare."
2303
2304 #. type: IP
2305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2307 #, no-wrap
2308 msgid "function format"
2309 msgstr "formatul funcției"
2310
2311 #. type: Plain text
2312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2314 msgid ""
2315 "POSIX B<bc> requires the opening brace on the same line as the B<define> key "
2316 "word and the B<auto> statement on the next line."
2317 msgstr ""
2318 "B<bc> POSIX impune ca paranteza de deschidere să se afle pe aceeași linie cu "
2319 "cuvântul-cheie B<define>, iar declarația B<auto> pe linia următoare."
2320
2321 #. type: IP
2322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2324 #, no-wrap
2325 msgid "=+, =-, =*, =/, =%, =^"
2326 msgstr "=+, =-, =*, =/, =%, =^"
2327
2328 #. type: Plain text
2329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2331 msgid ""
2332 "POSIX B<bc> does not require these \"old style\" assignment operators to be "
2333 "defined. This version may allow these \"old style\" assignments. Use the "
2334 "limits statement to see if the installed version supports them. If it does "
2335 "support the \"old style\" assignment operators, the statement \"a =- 1\" "
2336 "will decrement B<a> by 1 instead of setting B<a> to the value -1."
2337 msgstr ""
2338 "POSIX B<bc> nu necesită definirea acestor operatori de atribuire „în stil "
2339 "vechi”. Această versiune poate permite aceste atribuiri „în stil vechi”. "
2340 "Utilizați declarația limits pentru a vedea dacă versiunea instalată le "
2341 "acceptă. Dacă acceptă operatorii de atribuire „în stil vechi”, instrucțiunea "
2342 "„a =- 1” va decrementa B<a> cu 1 în loc să stabilească B<a> la valoarea -1."
2343
2344 #. type: IP
2345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2347 #, no-wrap
2348 msgid "spaces in numbers"
2349 msgstr "spații în numere"
2350
2351 #. type: Plain text
2352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2354 msgid ""
2355 "Other implementations of B<bc> allow spaces in numbers. For example, \"x=1 "
2356 "3\" would assign the value 13 to the variable x. The same statement would "
2357 "cause a syntax error in this version of B<bc>."
2358 msgstr ""
2359 "Alte implementări ale B<bc> permit spații în numere. De exemplu, „x=1 3” ar "
2360 "atribui valoarea 13 variabilei x. Aceeași afirmație ar cauza o eroare de "
2361 "sintaxă în această versiune a B<bc>."
2362
2363 #. type: IP
2364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2366 #, no-wrap
2367 msgid "errors and execution"
2368 msgstr "erori și execuție"
2369
2370 #. type: Plain text
2371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2373 msgid ""
2374 "This implementation varies from other implementations in terms of what code "
2375 "will be executed when syntax and other errors are found in the program. If "
2376 "a syntax error is found in a function definition, error recovery tries to "
2377 "find the beginning of a statement and continue to parse the function. Once "
2378 "a syntax error is found in the function, the function will not be callable "
2379 "and becomes undefined. Syntax errors in the interactive execution code will "
2380 "invalidate the current execution block. The execution block is terminated "
2381 "by an end of line that appears after a complete sequence of statements. For "
2382 "example,"
2383 msgstr ""
2384 "Această implementare diferă de alte implementări în ceea ce privește codul "
2385 "care va fi executat atunci când se găsesc erori de sintaxă și alte erori în "
2386 "program. Dacă se găsește o eroare de sintaxă în definiția unei funcții, "
2387 "recuperarea erorilor încearcă să găsească începutul unei instrucțiuni și să "
2388 "continue analizarea funcției. Odată ce este găsită o eroare de sintaxă în "
2389 "funcție, funcția nu va mai putea fi apelată și devine nedefinită. Erorile de "
2390 "sintaxă din codul de execuție interactiv vor invalida blocul de execuție "
2391 "curent. Blocul de execuție este încheiat de un sfârșit de linie care apare "
2392 "după o secvență completă de instrucțiuni. De exemplu,"
2393
2394 #. type: Plain text
2395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2397 #, no-wrap
2398 msgid ""
2399 "a = 1\n"
2400 "b = 2\n"
2401 msgstr ""
2402 "a = 1\n"
2403 "b = 2\n"
2404
2405 #. type: Plain text
2406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2408 msgid "has two execution blocks and"
2409 msgstr "are două blocuri de execuție și"
2410
2411 #. type: Plain text
2412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2414 #, no-wrap
2415 msgid ""
2416 "{ a = 1\n"
2417 " b = 2 }\n"
2418 msgstr ""
2419 "{ a = 1\n"
2420 " b = 2 }\n"
2421
2422 #. type: Plain text
2423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2425 msgid ""
2426 "has one execution block. Any runtime error will terminate the execution of "
2427 "the current execution block. A runtime warning will not terminate the "
2428 "current execution block."
2429 msgstr ""
2430 "are un singur bloc de execuție. Orice eroare în timp de execuție va încheia "
2431 "execuția blocului de execuție curent. Un avertisment de timp de execuție nu "
2432 "va încheia blocul de execuție curent."
2433
2434 #. type: IP
2435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2437 #, no-wrap
2438 msgid "Interrupts"
2439 msgstr "întreruperi"
2440
2441 #. type: Plain text
2442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2444 msgid ""
2445 "During an interactive session, the SIGINT signal (usually generated by the "
2446 "control-C character from the terminal) will cause execution of the current "
2447 "execution block to be interrupted. It will display a \"runtime\" error "
2448 "indicating which function was interrupted. After all runtime structures "
2449 "have been cleaned up, a message will be printed to notify the user that "
2450 "B<bc> is ready for more input. All previously defined functions remain "
2451 "defined and the value of all non-auto variables are the value at the point "
2452 "of interruption. All auto variables and function parameters are removed "
2453 "during the clean up process. During a non-interactive session, the SIGINT "
2454 "signal will terminate the entire run of B<bc>."
2455 msgstr ""
2456 "În timpul unei sesiuni interactive, semnalul SIGINT (generat de obicei de "
2457 "caracterul control-C din terminal) va determina întreruperea execuției "
2458 "blocului de execuție curent. Se va afișa o eroare „runtime” indicând funcția "
2459 "care a fost întreruptă. După ce toate structurile de timp de execuție au "
2460 "fost curățate, va fi afișat un mesaj pentru a notifica utilizatorul că B<bc> "
2461 "este gata pentru mai multe intrări. Toate funcțiile definite anterior rămân "
2462 "definite, iar valoarea tuturor variabilelor non-auto este valoarea din "
2463 "punctul de întrerupere. Toate variabilele automate și parametrii funcțiilor "
2464 "sunt eliminați în timpul procesului de curățare. În timpul unei sesiuni non-"
2465 "interactive, semnalul SIGINT va pune capăt întregii execuții a B<bc>."
2466
2467 #. type: SS
2468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2470 #, no-wrap
2471 msgid "LIMITS"
2472 msgstr "LIMITE"
2473
2474 #. type: Plain text
2475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2477 msgid ""
2478 "The following are the limits currently in place for this B<bc> processor. "
2479 "Some of them may have been changed by an installation. Use the limits "
2480 "statement to see the actual values."
2481 msgstr ""
2482 "Următoarele sunt limitele existente în prezent pentru acest procesor B<bc>. "
2483 "Este posibil ca unele dintre ele să fi fost modificate de o instalare. "
2484 "Utilizați declarația limits pentru a vedea valorile actuale."
2485
2486 #. type: IP
2487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2489 #, no-wrap
2490 msgid "BC_BASE_MAX"
2491 msgstr "BC_BASE_MAX"
2492
2493 #. type: Plain text
2494 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-tumbleweed
2495 msgid ""
2496 "The maximum output base is at least 10^9. The maximum input base is 16."
2497 msgstr ""
2498 "Baza maximă de ieșire este de cel puțin 10^9. Baza maximă de intrare este 16."
2499
2500 #. type: IP
2501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2503 #, no-wrap
2504 msgid "BC_DIM_MAX"
2505 msgstr "BC_DIM_MAX"
2506
2507 #. type: Plain text
2508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2510 msgid ""
2511 "This is currently an arbitrary limit of 65535 as distributed. Your "
2512 "installation may be different."
2513 msgstr ""
2514 "În prezent, aceasta este o limită arbitrară de 65535, așa cum este "
2515 "distribuită. Instalarea dvs. poate fi diferită."
2516
2517 #. type: IP
2518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2520 #, no-wrap
2521 msgid "BC_SCALE_MAX"
2522 msgstr "BC_SCALE_MAX"
2523
2524 #. type: Plain text
2525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2527 msgid ""
2528 "The number of digits after the decimal point is limited to INT_MAX digits. "
2529 "Also, the number of digits before the decimal point is limited to INT_MAX "
2530 "digits."
2531 msgstr ""
2532 "Numărul de cifre după punctul zecimal este limitat la INT_MAX cifre. De "
2533 "asemenea, numărul de cifre înainte de punctul zecimal este limitat la "
2534 "INT_MAX cifre."
2535
2536 #. type: IP
2537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2539 #, no-wrap
2540 msgid "BC_STRING_MAX"
2541 msgstr "BC_STRING_MAX"
2542
2543 #. type: Plain text
2544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2546 msgid ""
2547 "The limit on the number of characters in a string is INT_MAX characters."
2548 msgstr "Limita numărului de caractere dintr-un șir este INT_MAX caractere."
2549
2550 #. type: IP
2551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2553 #, no-wrap
2554 msgid "exponent"
2555 msgstr "exponent"
2556
2557 #. type: Plain text
2558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2560 msgid ""
2561 "The value of the exponent in the raise operation (^) is limited to LONG_MAX."
2562 msgstr ""
2563 "Valoarea exponentului în operația de ridicare la putere (^) este limitată la "
2564 "LONG_MAX."
2565
2566 #. type: IP
2567 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2568 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2569 #, no-wrap
2570 msgid "variable names"
2571 msgstr "nume de variabile"
2572
2573 #. type: Plain text
2574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2576 msgid ""
2577 "The current limit on the number of unique names is 32767 for each of simple "
2578 "variables, arrays and functions."
2579 msgstr ""
2580 "Limita actuală a numărului de nume unice este de 32767 pentru fiecare dintre "
2581 "variabilele simple, matrici și funcții."
2582
2583 #. type: SH
2584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2586 #, no-wrap
2587 msgid "ENVIRONMENT VARIABLES"
2588 msgstr "VARIABILE DE MEDIU"
2589
2590 #. type: Plain text
2591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2593 msgid "The following environment variables are processed by B<bc>:"
2594 msgstr "Următoarele variabile de mediu sunt prelucrate de B<bc>:"
2595
2596 #. type: IP
2597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2599 #, no-wrap
2600 msgid "POSIXLY_CORRECT"
2601 msgstr "POSIXLY_CORRECT"
2602
2603 #. type: Plain text
2604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2606 msgid "This is the same as the B<-s> option."
2607 msgstr "Aceasta este aceeași ca și opțiunea B<-s>."
2608
2609 #. type: IP
2610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2612 #, no-wrap
2613 msgid "BC_ENV_ARGS"
2614 msgstr "BC_ENV_ARGS"
2615
2616 #. type: Plain text
2617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2619 msgid ""
2620 "This is another mechanism to get arguments to B<bc>. The format is the same "
2621 "as the command line arguments. These arguments are processed first, so any "
2622 "files listed in the environment arguments are processed before any command "
2623 "line argument files. This allows the user to set up \"standard\" options "
2624 "and files to be processed at every invocation of B<bc>. The files in the "
2625 "environment variables would typically contain function definitions for "
2626 "functions the user wants defined every time B<bc> is run."
2627 msgstr ""
2628 "Acesta este un alt mecanism pentru a obține argumente pentru B<bc>. Formatul "
2629 "este același ca al argumentelor din linia de comandă. Aceste argumente sunt "
2630 "procesate primele, astfel încât orice fișiere listate în argumentele de "
2631 "mediu sunt procesate înaintea oricăror fișiere de argumente din linia de "
2632 "comandă. Acest lucru permite utilizatorului să configureze opțiuni și "
2633 "fișiere „standard” care să fie procesate la fiecare invocare a B<bc>. "
2634 "Fișierele din variabilele de mediu ar conține, de obicei, definiții de "
2635 "funcții pentru funcțiile pe care utilizatorul dorește să le definească de "
2636 "fiecare dată când B<bc> este rulat."
2637
2638 #. type: IP
2639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2641 #, no-wrap
2642 msgid "BC_LINE_LENGTH"
2643 msgstr "BC_LINE_LENGTH"
2644
2645 #. type: Plain text
2646 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
2647 #: opensuse-tumbleweed
2648 msgid ""
2649 "This should be an integer specifying the number of characters in an output "
2650 "line for numbers. This includes the backslash and newline characters for "
2651 "long numbers. As an extension, the value of zero disables the multi-line "
2652 "feature. Any other value of this variable that is less than 3 sets the line "
2653 "length to 70."
2654 msgstr ""
2655 "Acesta trebuie să fie un număr întreg care să specifice numărul de caractere "
2656 "dintr-o linie de ieșire pentru numere. Acesta include caracterele de bară "
2657 "oblică inversă și de linie nouă pentru numerele lungi. Ca extensie, valoarea "
2658 "zero dezactivează funcția de linii multiple. Orice altă valoare a acestei "
2659 "variabile care este mai mică de 3 stabilește lungimea liniei la 70."
2660
2661 #. type: SH
2662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2664 #, no-wrap
2665 msgid "DIAGNOSTICS"
2666 msgstr "DIAGNOSTICARE"
2667
2668 #. type: Plain text
2669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2671 msgid ""
2672 "If any file on the command line can not be opened, B<bc> will report that "
2673 "the file is unavailable and terminate. Also, there are compile and run time "
2674 "diagnostics that should be self-explanatory."
2675 msgstr ""
2676 "Dacă un fișier din linia de comandă nu poate fi deschis, B<bc> va raporta că "
2677 "fișierul nu este disponibil și se va încheia. De asemenea, există "
2678 "diagnostice de compilare și de execuție care ar trebui să se explice de la "
2679 "sine."
2680
2681 #. type: SH
2682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2684 #, no-wrap
2685 msgid "BUGS"
2686 msgstr "ERORI"
2687
2688 #. type: Plain text
2689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2691 msgid "Error recovery is not very good yet."
2692 msgstr "Recuperarea erorilor nu este încă foarte bună."
2693
2694 #. type: Plain text
2695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2697 msgid ""
2698 "Email bug reports to B<[email protected]>. Be sure to include the word ``bc'' "
2699 "somewhere in the ``Subject:'' field."
2700 msgstr ""
2701 "Trimiteți rapoartele de erori prin poștă electronică la adresa B<bug-"
2702 "[email protected]>. Asigurați-vă că includeți cuvântul „bc” undeva în câmpul "
2703 "„Subiect:”."
2704
2705 #. type: SH
2706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2708 #, no-wrap
2709 msgid "AUTHOR"
2710 msgstr "AUTOR"
2711
2712 #. type: Plain text
2713 #: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1
2714 #: opensuse-tumbleweed
2715 #, no-wrap
2716 msgid ""
2717 "Philip A. Nelson\n"
2718 "[email protected]\n"
2719 msgstr ""
2720 "Philip A. Nelson\n"
2721 "[email protected]\n"
2722
2723 #. type: SH
2724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2726 #, no-wrap
2727 msgid "ACKNOWLEDGEMENTS"
2728 msgstr "MULȚUMIRI"
2729
2730 #. type: Plain text
2731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
2733 msgid ""
2734 "The author would like to thank Steve Sommars ([email protected]) for his "
2735 "extensive help in testing the implementation. Many great suggestions were "
2736 "given. This is a much better product due to his involvement."
2737 msgstr ""
2738 "Autorul dorește să îi mulțumească lui Steve Sommars ([email protected]) "
2739 "pentru ajutorul său extins în testarea implementării. Au fost oferite multe "
2740 "sugestii excelente. Acesta este un produs mult mai bun datorită implicării "
2741 "sale."
2742
2743 #. type: TH
2744 #: debian-trixie debian-unstable opensuse-leap-16-1
2745 #, no-wrap
2746 msgid "2006-06-11"
2747 msgstr "11 iunie 2006"
2748
2749 #. type: Plain text
2750 #: debian-trixie debian-unstable
2751 msgid ""
2752 "Numbers are stored in two types of variables, simple variables and arrays. "
2753 "Both simple variables and array variables are named. Names begin with a "
2754 "letter followed by any number of letters, digits and underscores. All "
2755 "letters must be lower case. (Full alpha-numeric names are an extension. In "
2756 "POSIX B<bc> all names are a single lower case letter.) The type of variable "
2757 "is clear by the context because all array variable names will be followed by "
2758 "brackets ([])."
2759 msgstr ""
2760 "Numerele sunt stocate în două tipuri de variabile, variabile simple și "
2761 "matrice. Atât variabilele simple, cât și variabilele matrice sunt denumite. "
2762 "Numele încep cu o literă urmată de orice număr de litere, cifre și liniuțe "
2763 "de subliniere. Toate literele trebuie să fie în minuscule. Numele "
2764 "alfanumerice complete sunt o extensie; în B<bc> POSIX toate numele sunt "
2765 "formate dintr-o singură literă minusculă). Tipul de variabilă este clar în "
2766 "funcție de context, deoarece toate numele variabilelor de tip matrice vor fi "
2767 "urmate de paranteze drepte ([])."
2768
2769 #. type: Plain text
2770 #: debian-trixie debian-unstable
2771 msgid ""
2772 "There are four special variables, B<scale, ibase, obase,> and B<last>. "
2773 "B<scale> defines how some operations use digits after the decimal point. "
2774 "The default value of B<scale> is 0. B<ibase> and B<obase> define the "
2775 "conversion base for input and output numbers. The default for both input "
2776 "and output is base 10. B<last> (an extension) is a variable that has the "
2777 "value of the last printed number. These will be discussed in further detail "
2778 "where appropriate. All of these variables may have values assigned to them "
2779 "as well as used in expressions."
2780 msgstr ""
2781 "Există patru variabile speciale, B<scale, ibase, obase,> și B<last>. "
2782 "B<scale> definește modul în care unele operații utilizează cifrele după "
2783 "punctul zecimal. Valoarea implicită a lui B<scale> este 0. B<ibase> și "
2784 "B<obase> definesc baza de conversie pentru numerele de intrare și ieșire. "
2785 "Valoarea implicită atât pentru intrare, cât și pentru ieșire este baza 10. "
2786 "B<last> (o extensie) este o variabilă care are valoarea ultimului număr "
2787 "afișat. Acestea vor fi discutate mai detaliat acolo unde este cazul. Toate "
2788 "aceste variabile pot avea valori atribuite, precum și utilizate în expresii."
2789
2790 #. type: Plain text
2791 #: debian-trixie debian-unstable
2792 msgid ""
2793 "A simple expression is just a constant. B<bc> converts constants into "
2794 "internal decimal numbers using the current input base, specified by the "
2795 "variable B<ibase>. (There is an exception in functions.) The legal values "
2796 "of B<ibase> are 2 through 36. (Bases greater than 16 are an extension.) "
2797 "Assigning a value outside this range to B<ibase> will result in a value of 2 "
2798 "or 36. Input numbers may contain the characters 0\\(en9 and A\\(enZ. (Note: "
2799 "They must be capitals. Lower case letters are variable names.) Single "
2800 "digit numbers always have the value of the digit regardless of the value of "
2801 "B<ibase>. (i.e. A = 10.) For multi-digit numbers, B<bc> changes all input "
2802 "digits greater or equal to ibase to the value of B<ibase>-1. This makes the "
2803 "number B<ZZZ> always be the largest 3 digit number of the input base."
2804 msgstr ""
2805 "O expresie simplă este doar o constantă. B<bc> convertește constantele în "
2806 "numere zecimale interne folosind baza de intrare curentă, specificată de "
2807 "variabila B<ibase>.; (există o excepție în funcții). Valorile valide pentru "
2808 "B<ibase> sunt de la 2 la 36; (bazele mai mari de 16 sunt o extensie). "
2809 "Atribuirea unei valori în afara acestui interval pentru B<ibase> va avea ca "
2810 "rezultat o valoare de 2 sau 36. Numerele de intrare pot conține caracterele "
2811 "0-9 și A-Z. - Notă: Acestea trebuie să fie în majuscule. Literele minuscule "
2812 "sunt nume de variabile. - Numerele cu o singură cifră au întotdeauna "
2813 "valoarea cifrei indiferent de valoarea lui B<ibase>, (de exemplu, A = 10.) "
2814 "Pentru numerele cu mai multe cifre, B<bc> schimbă toate cifrele de intrare "
2815 "mai mari sau egale cu ibase la valoarea B<ibase>-1. Acest lucru face ca "
2816 "numărul B<ZZZ> să fie întotdeauna cel mai mare număr de 3 cifre din baza de "
2817 "intrare."
2818
2819 #. type: Plain text
2820 #: debian-trixie debian-unstable opensuse-leap-16-1
2821 msgid ""
2822 "Full expressions are similar to many other high level languages. Since "
2823 "there is only one kind of number, there are no rules for mixing types. "
2824 "Instead, there are rules on the scale of expressions. Every expression has "
2825 "a scale. This is derived from the scale of original numbers, the operation "
2826 "performed and in many cases, the value of the variable B<scale>. Legal "
2827 "values of the variable B<scale> are 0 to the maximum number representable by "
2828 "a C integer."
2829 msgstr ""
2830 "Expresiile complete sunt similare cu multe alte limbaje de nivel înalt. "
2831 "Deoarece există un singur tip de număr, nu există reguli pentru amestecarea "
2832 "tipurilor. În schimb, există reguli privind scala expresiilor. Fiecare "
2833 "expresie are o scală. Aceasta este derivată din scala numerelor originale, "
2834 "operația efectuată și, în multe cazuri, valoarea variabilei B<scale>. "
2835 "Valorile legale ale variabilei B<scale> sunt de la 0 la numărul maxim "
2836 "reprezentabil de un număr întreg C."
2837
2838 #. type: Plain text
2839 #: debian-trixie debian-unstable opensuse-leap-16-1
2840 msgid ""
2841 "In the following descriptions of legal expressions, \"expr\" refers to a "
2842 "complete expression and \"var\" refers to a simple or an array variable. A "
2843 "simple variable is just a"
2844 msgstr ""
2845 "În următoarele descrieri ale expresiilor permise, „expr” se referă la o "
2846 "expresie completă, iar „var” se referă la o variabilă simplă sau la o "
2847 "matrice. O variabilă simplă este doar o"
2848
2849 #. type: Plain text
2850 #: debian-trixie debian-unstable opensuse-leap-16-1
2851 #, no-wrap
2852 msgid ""
2853 " The result of the expression is the value of\n"
2854 "the variable and then the variable is incremented by one.\n"
2855 msgstr ""
2856 "Rezultatul expresiei este valoarea variabilei\n"
2857 "și apoi variabila este incrementată cu unu.\n"
2858
2859 #. type: Plain text
2860 #: debian-trixie debian-unstable
2861 msgid ""
2862 "The result of the expression is the value of the first raised to the "
2863 "second. The second expression must be an integer. (If the second "
2864 "expression is not an integer, a warning is generated and the expression is "
2865 "truncated to get an integer value.) The scale of the result is B<scale> if "
2866 "the exponent is negative. If the exponent is positive the scale of the "
2867 "result is the minimum of the scale of the first expression times the value "
2868 "of the exponent and the maximum of B<scale> and the scale of the first "
2869 "expression. (e.g.\\& scale(a^b) = min(scale(a)*b, max( B<scale,> "
2870 "scale(a))).) It should be noted that expr^0 will always return the value of "
2871 "1."
2872 msgstr ""
2873 "Rezultatul expresiei este valoarea primei expresii ridicată la a doua. A "
2874 "doua expresie trebuie să fie un număr întreg; (dacă a doua expresie nu este "
2875 "un număr întreg, este generat un avertisment și expresia este trunchiată "
2876 "pentru a obține o valoare întreagă). Scala rezultatului este B<scale> dacă "
2877 "exponentul este negativ. Dacă exponentul este pozitiv, scala rezultatului "
2878 "este minimul dintre scala primei expresii înmulțit cu valoarea exponentului "
2879 "și maximul dintre B<scale> și scala primei expresii; (dde exemplu: \\& "
2880 "scale(a^b) = min(scale(a)*b, max( B<scale,> scale(a)))). Trebuie remarcat "
2881 "faptul că expr^0 va returna întotdeauna valoarea 1."
2882
2883 #. type: Plain text
2884 #: debian-trixie debian-unstable opensuse-leap-16-1
2885 msgid ""
2886 "Relational expressions are a special kind of expression that always evaluate "
2887 "to 0 or 1, 0 if the relation is false and 1 if the relation is true. These "
2888 "may appear in any legal expression. (POSIX bc requires that relational "
2889 "expressions are used only in if, while, and for statements and that only one "
2890 "relational test may be done in them.) The relational operators are"
2891 msgstr ""
2892 "Expresiile relaționale sunt un tip special de expresie care evaluează "
2893 "întotdeauna la 0 sau 1, 0 dacă relația este falsă și 1 dacă relația este "
2894 "adevărată. Acestea pot apărea în orice expresie permisă; (bc POSIX impune ca "
2895 "expresiile relaționale să fie utilizate numai în declarațiile if, while și "
2896 "for și ca numai un test relațional să poată fi efectuat în acestea). "
2897 "Operatorii relaționali sunt"
2898
2899 #. type: Plain text
2900 #: debian-trixie debian-unstable
2901 msgid ""
2902 "Boolean operations are also legal. (POSIX B<bc> does NOT have boolean "
2903 "operations). The result of all boolean operations are 0 and 1 (for false "
2904 "and true) as in relational expressions. The boolean operators are:"
2905 msgstr ""
2906 "Operațiile booleene sunt, de asemenea, valabile; (B<bc> POSIX NU are "
2907 "operații booleene). Rezultatul tuturor operațiilor booleene sunt 0 și 1 "
2908 "(pentru fals (false) și adevărat (true)) ca în expresiile relaționale. "
2909 "Operatorii booleeni sunt:"
2910
2911 #. type: Plain text
2912 #: debian-trixie debian-unstable
2913 msgid ""
2914 "This precedence was chosen so that POSIX compliant B<bc> programs will run "
2915 "correctly. This will cause the use of the relational and logical operators "
2916 "to have some unusual behavior when used with assignment expressions. "
2917 "Consider the expression:"
2918 msgstr ""
2919 "Această precedență a fost aleasă astfel încât programele B<bc> conforme cu "
2920 "POSIX să ruleze corect. Acest lucru va face ca utilizarea operatorilor "
2921 "logici și relaționali să aibă un comportament neobișnuit atunci când sunt "
2922 "utilizați cu expresii de atribuire. Luați în considerare expresia:"
2923
2924 #. type: Plain text
2925 #: debian-trixie debian-unstable
2926 msgid ""
2927 "There are a few more special expressions that are provided in B<bc>. These "
2928 "have to do with user defined functions and standard functions. They all "
2929 "appear as \"\\,I<name\\/>B<(\\,>I<parameters\\/>B<)>\". See the section on "
2930 "functions for user defined functions. The standard functions are:"
2931 msgstr ""
2932 "Mai există câteva expresii speciale care sunt furnizate în B<bc>. Acestea au "
2933 "de-a face cu funcții definite de utilizator și funcții standard. Toate apar "
2934 "ca „I<nume>B<(>I<parametri>B<)>”. Consultați secțiunea privind funcțiile, "
2935 "pentru funcțiile definite de utilizator. Funcțiile standard sunt:"
2936
2937 #. type: Plain text
2938 #: debian-trixie debian-unstable
2939 msgid ""
2940 "Statements (as in most algebraic languages) provide the sequencing of "
2941 "expression evaluation. In B<bc> statements are executed \"as soon as "
2942 "possible.\" Execution happens when a newline in encountered and there is one "
2943 "or more complete statements. Due to this immediate execution, newlines are "
2944 "very important in B<bc>. In fact, both a semicolon and a newline are used "
2945 "as statement separators. An improperly placed newline will cause a syntax "
2946 "error. Because newlines are statement separators, it is possible to hide a "
2947 "newline by using the backslash character. The sequence \"\\eE<lt>nlE<gt>\", "
2948 "where E<lt>nlE<gt> is the newline appears to B<bc> as whitespace instead of "
2949 "a newline. A statement list is a series of statements separated by "
2950 "semicolons and newlines. The following is a list of B<bc> statements and "
2951 "what they do: (Things enclosed in brackets ([]) are optional parts of the "
2952 "statement.)"
2953 msgstr ""
2954 "Instrucțiunile (ca în majoritatea limbajelor algebrice) asigură secvența de "
2955 "evaluare a expresiilor. În B<bc> instrucțiunile sunt executate „de îndată ce "
2956 "este posibil”. Execuția are loc atunci când este întâlnită o linie nouă și "
2957 "există una sau mai multe instrucțiuni complete. Datorită acestei execuții "
2958 "imediate, liniile noi sunt foarte importante în B<bc>. De fapt, atât punctul "
2959 "și virgula, cât și linia nouă sunt utilizate ca separatoare de instrucțiuni. "
2960 "O linie nouă plasată necorespunzător va cauza o eroare de sintaxă. Deoarece "
2961 "liniile noi sunt separatoare de instrucțiuni, este posibil să se ascundă o "
2962 "linie nouă prin utilizarea caracterului de bară oblică inversă. Secvența "
2963 "„\\eE<lt>nlE<gt>”, unde E<lt>nlE<gt> este linia nouă, apare pentru B<bc> ca "
2964 "spațiu alb în loc de o linie nouă. O listă de instrucțiuni este o serie de "
2965 "instrucțiuni separate prin punct și virgulă și linii noi. Următoarea este o "
2966 "listă de instrucțiuni B<bc> și ce fac acestea: (Lucrurile incluse în "
2967 "paranteze ([]) sunt părți opționale ale instrucțiunii)."
2968
2969 #. type: Plain text
2970 #: debian-trixie debian-unstable
2971 msgid ""
2972 "This statement does one of two things. If the expression starts with "
2973 "\"E<lt>variableE<gt> E<lt>assignmentE<gt> ...\", it is considered to be an "
2974 "assignment statement. If the expression is not an assignment statement, the "
2975 "expression is evaluated and printed to the output. After the number is "
2976 "printed, a newline is printed. For example, \"a=1\" is an assignment "
2977 "statement and \"(a=1)\" is an expression that has an embedded assignment. "
2978 "All numbers that are printed are printed in the base specified by the "
2979 "variable B<obase>. The legal values for B< obase> are 2 through "
2980 "BC_BASE_MAX. (See the section LIMITS.) For bases 2 through 16, the usual "
2981 "method of writing numbers is used. For bases greater than 16, B<bc> uses a "
2982 "multi-character digit method of printing the numbers where each higher base "
2983 "digit is printed as a base 10 number. The multi-character digits are "
2984 "separated by spaces. Each digit contains the number of characters required "
2985 "to represent the base ten value of \"obase-1\". Since numbers are of "
2986 "arbitrary precision, some numbers may not be printable on a single output "
2987 "line. These long numbers will be split across lines using the \"\\e\" as "
2988 "the last character on a line. The maximum number of characters printed per "
2989 "line is 70. Due to the interactive nature of B<bc>, printing a number "
2990 "causes the side effect of assigning the printed value to the special "
2991 "variable B<last>. This allows the user to recover the last value printed "
2992 "without having to retype the expression that printed the number. Assigning "
2993 "to B<last> is legal and will overwrite the last printed value with the "
2994 "assigned value. The newly assigned value will remain until the next number "
2995 "is printed or another value is assigned to B<last>. (Some installations may "
2996 "allow the use of a single period (.\\&) which is not part of a number as a "
2997 "short hand notation for for B<last>.)"
2998 msgstr ""
2999 "Această instrucțiune face unul din două lucruri. Dacă expresia începe cu "
3000 "„E<lt>variableE<gt> E<lt>assignmentE<gt> ...”, aceasta este considerată a fi "
3001 "o instrucțiune de atribuire. Dacă expresia nu este o instrucțiune de "
3002 "atribuire, expresia este evaluată și imprimată la ieșire. După imprimarea "
3003 "numărului, este imprimată o linie nouă. De exemplu, „a=1” este o "
3004 "instrucțiune de atribuire, iar „(a=1)” este o expresie care are o atribuire "
3005 "încorporată. Toate numerele care sunt imprimate sunt imprimate în baza "
3006 "specificată de variabila B<obase>. Valorile valabile pentru B<obase> sunt de "
3007 "la 2 până la BC_BASE_MAX; (ase vedea secțiunea LIMITE.) Pentru bazele de la "
3008 "2 la 16, se utilizează metoda obișnuită de scriere a numerelor. Pentru baze "
3009 "mai mari de 16, B<bc> utilizează o metodă de imprimare a cifrelor cu mai "
3010 "multe caractere, în care fiecare cifră de bază superioară este imprimată ca "
3011 "un număr de bază 10. Cifrele cu mai multe caractere sunt separate prin "
3012 "spații. Fiecare cifră conține numărul de caractere necesare pentru a "
3013 "reprezenta valoarea în bază zece a „obase-1”. Deoarece numerele sunt de o "
3014 "precizie arbitrară, este posibil ca unele numere să nu poată fi imprimate pe "
3015 "o singură linie de ieșire. Aceste numere lungi vor fi împărțite pe linii "
3016 "folosind „\\e” ca ultim caracter pe o linie. Numărul maxim de caractere "
3017 "imprimate pe linie este de 70. Datorită naturii interactive a B<bc>, "
3018 "imprimarea unui număr are ca efect secundar atribuirea valorii imprimate "
3019 "variabilei speciale B<last>. Acest lucru permite utilizatorului să "
3020 "recupereze ultima valoare imprimată fără a fi nevoit să rescrie expresia "
3021 "care a imprimat numărul. Atribuirea la B<last> este valabilă și va "
3022 "suprascrie ultima valoare imprimată cu valoarea atribuită. Valoarea nou "
3023 "atribuită va rămâne până la imprimarea următorului număr sau până la "
3024 "atribuirea unei alte valori la B<last>; (unele instalații pot permite "
3025 "utilizarea unui singur punct (.) care nu face parte dintr-un număr ca "
3026 "notație scurtă pentru B<last>)."
3027
3028 #. type: Plain text
3029 #: debian-trixie debian-unstable
3030 msgid ""
3031 "The print statement (an extension) provides another method of output. The "
3032 "\"list\" is a list of strings and expressions separated by commas. Each "
3033 "string or expression is printed in the order of the list. No terminating "
3034 "newline is printed. Expressions are evaluated and their value is printed "
3035 "and assigned to the variable B<last>. Strings in the print statement are "
3036 "printed to the output and may contain special characters. Special "
3037 "characters start with the backslash character (\\e). The special characters "
3038 "recognized by B<bc> are \"a\" (alert or bell), \"b\" (backspace), \"f\" "
3039 "(form feed), \"n\" (newline), \"r\" (carriage return), \"q\" (double quote), "
3040 "\"t\" (tab), and \"\\e\" (backslash). Any other character following the "
3041 "backslash will be ignored."
3042 msgstr ""
3043 "Instrucțiunea print (o extensie) oferă o altă metodă de ieșire. „Lista” este "
3044 "o listă de șiruri de caractere și expresii separate prin virgule. Fiecare "
3045 "șir sau expresie este imprimată în ordinea din listă. Nu se imprimă nicio "
3046 "linie nouă de încheiere. Expresiile sunt evaluate, iar valoarea lor este "
3047 "imprimată și atribuită variabilei B<last>. Șirurile de caractere din "
3048 "instrucțiunea print sunt imprimate la ieșire și pot conține caractere "
3049 "speciale. Caracterele speciale încep cu caracterul de bară oblică inversă "
3050 "(\\e). Caracterele speciale recunoscute de B<bc> sunt „a” (alertă sau "
3051 "clopoțel), „b” (backspace), „f” (salt de pagină), „n” (linie nouă), „r” "
3052 "(retur de cărucior), „q” (ghilimele duble), „t” (tabulator) și „\\e” (bară "
3053 "oblică inversă). Orice alt caracter care urmează barei inverse va fi ignorat."
3054
3055 #. type: Plain text
3056 #: debian-trixie debian-unstable
3057 msgid ""
3058 "The for statement controls repeated execution of the statement. Expression1 "
3059 "is evaluated before the loop. Expression2 is evaluated before each "
3060 "execution of the statement. If it is non-zero, the statement is evaluated. "
3061 "If it is zero, the loop is terminated. After each execution of the "
3062 "statement, expression3 is evaluated before the reevaluation of expression2. "
3063 "If expression1 or expression3 are missing, nothing is evaluated at the point "
3064 "they would be evaluated. If expression2 is missing, it is the same as "
3065 "substituting the value 1 for expression2. (The optional expressions are an "
3066 "extension. POSIX B<bc> requires all three expressions.) The following is "
3067 "equivalent code for the for statement:"
3068 msgstr ""
3069 "Instrucțiunea for controlează executarea repetată a instrucțiunii. Expresia1 "
3070 "este evaluată înainte de buclă. Expresia2 este evaluată înainte de fiecare "
3071 "execuție a instrucțiunii. Dacă este diferită de zero, instrucțiunea este "
3072 "evaluată. Dacă este zero, bucla este terminată. După fiecare execuție a "
3073 "instrucțiunii, expresia3 este evaluată înainte de reevaluarea expresiei2. "
3074 "Dacă expresia1 sau expresia3 lipsesc, nu se evaluează nimic în momentul în "
3075 "care acestea ar fi evaluate. Dacă expresia2 lipsește, este la fel ca și "
3076 "înlocuirea expresiei2 cu valoarea 1; (expresiile opționale sunt o extensie, "
3077 "POSIX B<bc> necesită toate cele trei expresii). Următorul este codul "
3078 "echivalent pentru instrucțiunea for:"
3079
3080 #. type: Plain text
3081 #: debian-trixie debian-unstable
3082 msgid ""
3083 "The continue statement (an extension) causes the most recent enclosing for "
3084 "statement to start the next iteration."
3085 msgstr ""
3086 "Instrucțiunea continue (o extensie) face ca cea mai recentă instrucțiune for "
3087 "să înceapă următoarea iterație."
3088
3089 #. type: Plain text
3090 #: debian-trixie debian-unstable
3091 msgid ""
3092 "A function call is just an expression of the form \"\\,I<name\\/"
3093 ">B<(\\,>I<parameters\\/>B<)>\"."
3094 msgstr ""
3095 "Un apel de funcție este doar o expresie de forma "
3096 "„I<nume>B<(>I<parametri>B<)>”."
3097
3098 #. type: Plain text
3099 #: debian-trixie debian-unstable
3100 msgid ""
3101 "Parameters are numbers or arrays (an extension). In the function "
3102 "definition, zero or more parameters are defined by listing their names "
3103 "separated by commas. All parameters are call by value parameters. Arrays "
3104 "are specified in the parameter definition by the notation \"\\,I<name\\/"
3105 ">B<[]>\". In the function call, actual parameters are full expressions for "
3106 "number parameters. The same notation is used for passing arrays as for "
3107 "defining array parameters. The named array is passed by value to the "
3108 "function. Since function definitions are dynamic, parameter numbers and "
3109 "types are checked when a function is called. Any mismatch in number or "
3110 "types of parameters will cause a runtime error. A runtime error will also "
3111 "occur for the call to an undefined function."
3112 msgstr ""
3113 "Parametrii sunt numere sau matrici (o extensie). În definiția funcției, zero "
3114 "sau mai mulți parametri sunt definiți prin enumerarea numelor lor separate "
3115 "prin virgulă. Toți parametrii sunt parametrii de apel prin valoare. "
3116 "Matricele sunt specificate în definiția parametrilor prin notația "
3117 "„I<nume>B<[]>”. În apelul funcției, parametrii efectivi sunt expresii "
3118 "complete pentru parametrii numerici. Pentru pasarea matricelor se utilizează "
3119 "aceeași notație ca și pentru definirea parametrilor matricelor. Matricea "
3120 "numită este pasată prin valoare către funcție. Deoarece definițiile "
3121 "funcțiilor sunt dinamice, numărul și tipul parametrilor sunt verificate "
3122 "atunci când se apelează o funcție. Orice neconcordanță în ceea ce privește "
3123 "numărul sau tipurile de parametri va provoca o eroare în timpul execuției. O "
3124 "eroare de execuție va apărea și în cazul apelării unei funcții nedefinite."
3125
3126 #. type: Plain text
3127 #: debian-trixie debian-unstable opensuse-leap-16-1
3128 msgid ""
3129 "Several extensions have been added to functions. First, the format of the "
3130 "definition has been slightly relaxed. The standard requires the opening "
3131 "brace be on the same line as the B<define> keyword and all other parts must "
3132 "be on following lines. This version of B<bc> will allow any number of "
3133 "newlines before and after the opening brace of the function. For example, "
3134 "the following definitions are legal."
3135 msgstr ""
3136 "Funcțiilor le-au fost adăugate mai multe extensii. În primul rând, formatul "
3137 "definiției a fost ușor relaxat. Standardul cere ca acolada de deschidere să "
3138 "fie pe aceeași linie cu cuvântul-cheie B<define> și toate celelalte părți "
3139 "trebuie să fie pe liniile următoare. Această versiune a B<bc> va permite "
3140 "orice număr de linii noi înainte și după acolada de deschidere a funcției. "
3141 "De exemplu, următoarele definiții sunt valabile."
3142
3143 #. type: Plain text
3144 #: debian-trixie debian-unstable opensuse-leap-16-1
3145 #, no-wrap
3146 msgid ""
3147 "CW<\n"
3148 "define d (n) { return (2*n); }\n"
3149 "define d (n)\n"
3150 " { return (2*n); }>\n"
3151 "\n"
3152 msgstr ""
3153 "CW<\n"
3154 "define d (n) { return (2*n); }>\n"
3155 "CW<\n"
3156 "define d (n)>\n"
3157 "CW<\n"
3158 " { return (2*n); }>\n"
3159 "\n"
3160
3161 #. type: Plain text
3162 #: debian-trixie debian-unstable opensuse-leap-16-1
3163 #, no-wrap
3164 msgid ""
3165 "CW<\n"
3166 "define py (y) { print \"---E<gt>\", y, \"E<lt>---\", \"\\en\"; }\n"
3167 "define void px (x) { print \"---E<gt>\", x, \"E<lt>---\", \"\\en\"; }\n"
3168 "py(1)\n"
3169 "---E<gt>1E<lt>---\n"
3170 "0\n"
3171 "px(1)\n"
3172 "---E<gt>1E<lt>--->\n"
3173 "\n"
3174 msgstr ""
3175 "CW<\n"
3176 "define py (y) { print \"---E<gt>\", y, \"E<lt>---\", \"\\en\"; }>\n"
3177 "CW<\n"
3178 "define void px (x) { print \"---E<gt>\", x, \"E<lt>---\", \"\\en\"; }>\n"
3179 "CW<\n"
3180 "py(1)>\n"
3181 "CW<\n"
3182 "---E<gt>1E<lt>--->\n"
3183 "CW<\n"
3184 "0>\n"
3185 "CW<\n"
3186 "px(1)>\n"
3187 "CW<\n"
3188 "---E<gt>1E<lt>--->\n"
3189 "\n"
3190
3191 #. type: Plain text
3192 #: debian-trixie debian-unstable opensuse-leap-16-1
3193 msgid ""
3194 "Since B<py> is not a void function, the call of B<py(1)> prints the desired "
3195 "output and then prints a second line that is the value of the function. "
3196 "Since the value of a function that is not given an explicit return statement "
3197 "is zero, the zero is printed. For B<px(1)>, no zero is printed because the "
3198 "function is a void function."
3199 msgstr ""
3200 "Din moment ce B<py> nu este o funcție nulă (void), apelul la B<py(1)> "
3201 "imprimă rezultatul dorit și apoi imprimă o a doua linie care este valoarea "
3202 "funcției. Deoarece valoarea unei funcții care nu primește o instrucțiune de "
3203 "revenire explicită este zero, se imprimă zero. Pentru B<px(1)>, nu se "
3204 "imprimă niciun zero deoarece funcția este o funcție nulă."
3205
3206 #. type: Plain text
3207 #: debian-trixie debian-unstable
3208 msgid ""
3209 "Also, call by variable for arrays was added. To declare a call by variable "
3210 "array, the declaration of the array parameter in the function definition "
3211 "looks like \"\\,I<*name\\/>B<[]>\". The call to the function remains the "
3212 "same as call by value arrays."
3213 msgstr ""
3214 "De asemenea, a fost adăugat apelul prin variabilă pentru matrice. Pentru a "
3215 "declara o matrice cu apel prin variabilă, declarația parametrului matricei "
3216 "în definiția funcției arată ca „I<*nume>B<[]>”. Apelul la funcție rămâne "
3217 "același ca în cazul apelului prin valoare a matricelor."
3218
3219 #. type: IP
3220 #: debian-trixie debian-unstable
3221 #, no-wrap
3222 msgid "s (\\,I<x\\/>)"
3223 msgstr "s (\\,I<x\\/>)"
3224
3225 #. type: IP
3226 #: debian-trixie debian-unstable
3227 #, no-wrap
3228 msgid "c (\\,I<x\\/>)"
3229 msgstr "c (\\,I<x\\/>)"
3230
3231 #. type: IP
3232 #: debian-trixie debian-unstable
3233 #, no-wrap
3234 msgid "a (\\,I<x\\/>)"
3235 msgstr "a (\\,I<x\\/>)"
3236
3237 #. type: IP
3238 #: debian-trixie debian-unstable
3239 #, no-wrap
3240 msgid "l (\\,I<x\\/>)"
3241 msgstr "l (\\,I<x\\/>)"
3242
3243 #. type: IP
3244 #: debian-trixie debian-unstable
3245 #, no-wrap
3246 msgid "e (\\,I<x\\/>)"
3247 msgstr "e (\\,I<x\\/>)"
3248
3249 #. type: IP
3250 #: debian-trixie debian-unstable
3251 #, no-wrap
3252 msgid "j (\\,I<n,x\\/>)"
3253 msgstr "j (\\,I<n,x\\/>)"
3254
3255 #. type: Plain text
3256 #: debian-trixie debian-unstable opensuse-leap-16-1
3257 msgid "CW< pi=$(echo \"scale=10; 4*a(1)\" | bc -l)>"
3258 msgstr "CW< pi=$(echo \"scale=10; 4*a(1)\" | bc -l)>"
3259
3260 #. type: Plain text
3261 #: debian-trixie debian-unstable opensuse-leap-16-1
3262 #, no-wrap
3263 msgid ""
3264 "CW<\n"
3265 "scale = 20>\n"
3266 msgstr ""
3267 "CW<\n"
3268 "scale = 20>\n"
3269
3270 #. type: Plain text
3271 #: debian-trixie debian-unstable opensuse-leap-16-1
3272 #, no-wrap
3273 msgid ""
3274 "CW</* Uses the fact that e^x = (e^(x/2))^2\n"
3275 " When x is small enough, we use the series:\n"
3276 " e^x = 1 + x + x^2/2! + x^3/3! + ...\n"
3277 "*/>\n"
3278 msgstr ""
3279 "CW<\n"
3280 "/* Folosește faptul că e^x = (e^(x/2))^2>\n"
3281 "CW<\n"
3282 " Când x este suficient de mic, se folosește seria:>\n"
3283 "CW<\n"
3284 " e^x = 1 + x + x^2/2! + x^3/3! + ...>\n"
3285 "CW<\n"
3286 "*/>\n"
3287
3288 #. type: Plain text
3289 #: debian-trixie debian-unstable opensuse-leap-16-1
3290 #, no-wrap
3291 msgid ""
3292 "CW<define e(x) {\n"
3293 " auto a, d, e, f, i, m, v, z>\n"
3294 msgstr ""
3295 "CW<\n"
3296 "define e(x) {>\n"
3297 "CW<\n"
3298 " auto a, d, e, f, i, m, v, z>\n"
3299
3300 #. type: Plain text
3301 #: debian-trixie debian-unstable
3302 #, no-wrap
3303 msgid ""
3304 "CW< /* Check the sign of x. */\n"
3305 " if (xE<lt>0) {\n"
3306 " m = 1\n"
3307 " x = -x\n"
3308 " }>\n"
3309 msgstr ""
3310 "CW<\n"
3311 " /* Verifică semnul lui x. */>\n"
3312 "CW<\n"
3313 " if (xE<lt>0) {>\n"
3314 "CW<\n"
3315 " m = 1>\n"
3316 "CW<\n"
3317 " x = -x>\n"
3318 "CW<\n"
3319 " }>\n"
3320
3321 #. type: Plain text
3322 #: debian-trixie debian-unstable opensuse-leap-16-1
3323 #, no-wrap
3324 msgid ""
3325 "CW< /* Precondition x. */\n"
3326 " z = scale;\n"
3327 " scale = 4 + z + .44*x;\n"
3328 " while (x E<gt> 1) {\n"
3329 " f += 1;\n"
3330 " x /= 2;\n"
3331 " }>\n"
3332 msgstr ""
3333 "CW<\n"
3334 " /* Precondiție x. */>\n"
3335 "CW<\n"
3336 " z = scale;>\n"
3337 "CW<\n"
3338 " scale = 4 + z + .44*x;>\n"
3339 "CW<\n"
3340 " while (x E<gt> 1) {>\n"
3341 "CW<\n"
3342 " f += 1;>\n"
3343 "CW<\n"
3344 " x /= 2;>\n"
3345 "CW<\n"
3346 " }>\n"
3347
3348 #. type: Plain text
3349 #: debian-trixie debian-unstable opensuse-leap-16-1
3350 #, no-wrap
3351 msgid ""
3352 "CW< /* Initialize the variables. */\n"
3353 " v = 1+x\n"
3354 " a = x\n"
3355 " d = 1>\n"
3356 msgstr ""
3357 "CW<\n"
3358 " /* Inițializează variabilele. */>\n"
3359 "CW<\n"
3360 " v = 1+x>\n"
3361 "CW<\n"
3362 " a = x>\n"
3363 "CW<\n"
3364 " d = 1>\n"
3365
3366 #. type: Plain text
3367 #: debian-trixie debian-unstable opensuse-leap-16-1
3368 #, no-wrap
3369 msgid ""
3370 "CW< for (i=2; 1; i++) {\n"
3371 " e = (a *= x) / (d *= i)\n"
3372 " if (e == 0) {\n"
3373 " if (fE<gt>0) while (f--) v = v*v;\n"
3374 " scale = z\n"
3375 " if (m) return (1/v);\n"
3376 " return (v/1);\n"
3377 " }\n"
3378 " v += e\n"
3379 " }\n"
3380 "}>\n"
3381 "\n"
3382 msgstr ""
3383 "CW<\n"
3384 " for (i=2; 1; i++) {>\n"
3385 "CW<\n"
3386 " e = (a *= x) / (d *= i)>\n"
3387 "CW< if (e == 0) {\n"
3388 " if (fE<gt>0) while (f--) v = v*v;>\n"
3389 "CW<\n"
3390 " scale = z>\n"
3391 "CW<\n"
3392 " if (m) return (1/v);>\n"
3393 "CW<\n"
3394 " return (v/1);>\n"
3395 "CW<\n"
3396 " }>\n"
3397 "CW<\n"
3398 " v += e>\n"
3399 "CW<\n"
3400 " }>\n"
3401 "CW<\n"
3402 "}>\n"
3403 "\n"
3404
3405 #. type: Plain text
3406 #: debian-trixie debian-unstable opensuse-leap-16-1
3407 #, no-wrap
3408 msgid ""
3409 "CW<\n"
3410 "scale=2\n"
3411 "print \"\\enCheck book program!\\en\"\n"
3412 "print \" Remember, deposits are negative transactions.\\en\"\n"
3413 "print \" Exit by a 0 transaction.\\en\\en\">\n"
3414 msgstr ""
3415 "CW<\n"
3416 "scale=2>\n"
3417 "CW<\n"
3418 "print \"\\enProgramul registrului de balanțe!\\en”>\n"
3419 "CW<\n"
3420 "print „ Țineți minte, depozitele sunt tranzacții negative.\\en”>\n"
3421 "CW<\n"
3422 "print „ Ieșire printr-o tranzacție 0.\\en\\en\">\n"
3423
3424 #. type: Plain text
3425 #: debian-trixie debian-unstable opensuse-leap-16-1
3426 #, no-wrap
3427 msgid ""
3428 "CW<print \"Initial balance? \"; bal = read()\n"
3429 "bal /= 1\n"
3430 "print \"\\en\"\n"
3431 "while (1) {\n"
3432 " \"current balance = \"; bal\n"
3433 " \"transaction? \"; trans = read()\n"
3434 " if (trans == 0) break;\n"
3435 " bal -= trans\n"
3436 " bal /= 1\n"
3437 "}\n"
3438 "quit>\n"
3439 "\n"
3440 msgstr ""
3441 "CW<\n"
3442 "print \"Soldul inițial? \"; bal = read()>\n"
3443 "CW<\n"
3444 "bal /= 1>\n"
3445 "CW<\n"
3446 "print \"\\en\">\n"
3447 "CW<\n"
3448 "while (1) {>\n"
3449 "CW<\n"
3450 " \"current balance = \"; bal>\n"
3451 "CW<\n"
3452 " \"transaction? \"; trans = read()>\n"
3453 "CW<\n"
3454 " if (trans == 0) break;>\n"
3455 "CW<\n"
3456 " bal -= trans>\n"
3457 "CW<\n"
3458 " bal /= 1>\n"
3459 "CW<\n"
3460 "}>\n"
3461 "CW<\n"
3462 "quit>\n"
3463 "\n"
3464
3465 #. type: Plain text
3466 #: debian-trixie debian-unstable opensuse-leap-16-1
3467 #, no-wrap
3468 msgid ""
3469 "CW<\n"
3470 "define f (x) {\n"
3471 " if (x E<lt>= 1) return (1);\n"
3472 " return (f(x-1) * x);\n"
3473 "}>\n"
3474 "\n"
3475 msgstr ""
3476 "CW<\n"
3477 "define f (x) {>\n"
3478 "CW<\n"
3479 " if (x E<lt>= 1) return (1);>\n"
3480 "CW<\n"
3481 " return (f(x-1) * x);>\n"
3482 "CW<\n"
3483 "}>\n"
3484 "\n"
3485
3486 #. type: Plain text
3487 #: debian-trixie debian-unstable
3488 msgid ""
3489 "GNU B<bc> can be compiled (via a configure option) to use the GNU "
3490 "B<readline> input editor library or the BSD B<libedit> library. This allows "
3491 "the user to do editing of lines before sending them to B<bc>. It also "
3492 "allows for a history of previous lines typed. When this option is selected, "
3493 "B<bc> has one more special variable. This special variable, B<history> is "
3494 "the number of lines of history retained. For B<readline>, a value of -1 "
3495 "means that an unlimited number of history lines are retained. Setting the "
3496 "value of B<history> to a positive number restricts the number of history "
3497 "lines to the number given. The value of 0 disables the history feature. "
3498 "The default value is 100. For more information, read the user manuals for "
3499 "the GNU B<readline>, B<history> and BSD B<libedit> libraries. One can not "
3500 "enable both B<readline> and B<libedit> at the same time."
3501 msgstr ""
3502 "B<bc> GNU poate fi compilat (prin intermediul unei opțiuni configure) pentru "
3503 "a utiliza biblioteca editorului de intrare GNU B<readline> sau biblioteca "
3504 "BSD B<libedit>. Acest lucru permite utilizatorului să editeze liniile "
3505 "înainte de a le trimite la B<bc>. De asemenea, permite un istoric al "
3506 "liniilor tastate anterior. Când această opțiune este selectată, B<bc> mai "
3507 "are o variabilă specială. Această variabilă specială, B<history> este "
3508 "numărul de linii de istoric reținute. Pentru B<readline>, o valoare de -1 "
3509 "înseamnă că se păstrează un număr nelimitat de linii de istoric. Stabilirea "
3510 "valorii B<history> la un număr pozitiv limitează numărul de linii de istoric "
3511 "la numărul dat. Valoarea 0 dezactivează funcția de istoric. Valoarea "
3512 "implicită este 100. Pentru mai multe informații, citiți manualele de "
3513 "utilizare pentru bibliotecile GNU B<readline>, B<history> și BSD B<libedit>. "
3514 "Nu se pot activa în același timp B<readline> și B<libedit>."
3515
3516 #. type: Plain text
3517 #: debian-trixie debian-unstable opensuse-leap-16-1
3518 msgid ""
3519 "This version of B<bc> was implemented from the POSIX P1003.2/D11 draft and "
3520 "contains several differences and extensions relative to the draft and "
3521 "traditional implementations. It is not implemented in the traditional way "
3522 "using I<dc(1).> This version is a single process which parses and runs a "
3523 "byte code translation of the program. There is an \"undocumented\" option (-"
3524 "c) that causes the program to output the byte code to the standard output "
3525 "instead of running it. It was mainly used for debugging the parser and "
3526 "preparing the math library."
3527 msgstr ""
3528 "Această versiune a B<bc> a fost implementată pornind de la proiectul POSIX "
3529 "P1003.2/D11 și conține mai multe diferențe și extensii în raport cu "
3530 "proiectul și implementările tradiționale. Aceasta nu este implementată în "
3531 "mod tradițional folosind B<dc>(1). Această versiune este un proces unic care "
3532 "analizează și execută o traducere a codului de octeți al programului. Există "
3533 "o opțiune „nedocumentată” (-c) care face ca programul să trimită codul de "
3534 "octeți la ieșirea standard în loc să îl execute. Aceasta a fost utilizată în "
3535 "principal pentru depanarea analizorului și pregătirea bibliotecii de "
3536 "matematică."
3537
3538 #. type: Plain text
3539 #: debian-trixie debian-unstable
3540 msgid ""
3541 "POSIX B<bc> does not have a B<last> variable. Some implementations of B<bc> "
3542 "use the period (.\\&) in a similar way."
3543 msgstr ""
3544 "B<bc> POSIX nu are o variabilă B<last>. Unele implementări ale B<bc> "
3545 "utilizează punctul (.) într-un mod similar."
3546
3547 #. type: Plain text
3548 #: debian-trixie debian-unstable
3549 msgid "POSIX B<bc> does not have a print statement."
3550 msgstr "B<bc> POSIX nu are o instrucțiune print ."
3551
3552 #. type: Plain text
3553 #: debian-trixie debian-unstable opensuse-leap-16-1
3554 msgid ""
3555 "The maximum output base is currently set at 999. The maximum input base is "
3556 "16."
3557 msgstr ""
3558 "Baza maximă de ieșire este stabilită în prezent la 999. Baza maximă de "
3559 "intrare este 16."
3560
3561 #. type: Plain text
3562 #: debian-trixie debian-unstable
3563 msgid ""
3564 "This should be an integer specifying the number of characters in an output "
3565 "line for numbers. This includes the backslash and newline characters for "
3566 "long numbers. As an extension, the value of zero disables the multi-line "
3567 "feature. Any other value of this variable that is less than 3 sets the line "
3568 "length to 70."
3569 msgstr ""
3570 "Acesta trebuie să fie un număr întreg care să specifice numărul de caractere "
3571 "dintr-o linie de ieșire pentru numere. Acesta include caracterele de bară "
3572 "oblică inversă și de linie nouă pentru numerele lungi. Ca extensie, valoarea "
3573 "zero dezactivează funcția de linii multiple. Orice altă valoare a acestei "
3574 "variabile care este mai mică de 3 stabilește lungimea liniei la 70."
3575
3576 #. type: Plain text
3577 #: debian-trixie debian-unstable
3578 #, no-wrap
3579 msgid ""
3580 "Philip A.\\& Nelson\n"
3581 "[email protected]\n"
3582 msgstr ""
3583 "Philip A.\\& Nelson\n"
3584 "[email protected]\n"
3585
3586 #. type: Plain text
3587 #: fedora-44 fedora-rawhide
3588 msgid ""
3589 "The result of the expression is the product of the two expressions. If a "
3590 "and b are the scales of the two expressions, then the scale of the result "
3591 "is: min(a+b,max(scale,a,b))"
3592 msgstr ""
3593 "Rezultatul expresiei este produsul celor două expresii. Dacă a și b sunt "
3594 "scala celor două expresii, atunci scala rezultatului este: "
3595 "min(a+b,max(scale,a,b))"
3596
3597 #. type: Plain text
3598 #: opensuse-leap-16-1
3599 msgid ""
3600 "Numbers are stored in two types of variables, simple variables and arrays. "
3601 "Both simple variables and array variables are named. Names begin with a "
3602 "letter followed by any number of letters, digits and underscores. All "
3603 "letters must be lower case. (Full alpha-numeric names are an extension. In "
3604 "POSIX B<bc> all names are a single lower case letter.) The type of variable "
3605 "is clear by the context because all array variable names will be followed by "
3606 "brackets ([])."
3607 msgstr ""
3608 "Numerele sunt stocate în două tipuri de variabile, variabile simple și "
3609 "matrice. Atât variabilele simple, cât și variabilele matrice sunt denumite. "
3610 "Numele încep cu o literă urmată de orice număr de litere, cifre și liniuțe "
3611 "de subliniere. Toate literele trebuie să fie în minuscule. Numele "
3612 "alfanumerice complete sunt o extensie; în B<bc> POSIX toate numele sunt "
3613 "formate dintr-o singură literă minusculă). Tipul de variabilă este clar în "
3614 "funcție de context, deoarece toate numele variabilelor de tip matrice vor fi "
3615 "urmate de paranteze drepte ([])."
3616
3617 #. type: Plain text
3618 #: opensuse-leap-16-1
3619 msgid ""
3620 "A simple expression is just a constant. B<bc> converts constants into "
3621 "internal decimal numbers using the current input base, specified by the "
3622 "variable B<ibase>. (There is an exception in functions.) The legal values "
3623 "of B<ibase> are 2 through 36. (Bases greater than 16 are an extension.) "
3624 "Assigning a value outside this range to B<ibase> will result in a value of 2 "
3625 "or 36. Input numbers may contain the characters 0-9 and A-Z. (Note: They "
3626 "must be capitals. Lower case letters are variable names.) Single digit "
3627 "numbers always have the value of the digit regardless of the value of "
3628 "B<ibase>. (i.e. A = 10.) For multi-digit numbers, B<bc> changes all input "
3629 "digits greater or equal to ibase to the value of B<ibase>-1. This makes the "
3630 "number B<ZZZ> always be the largest 3 digit number of the input base."
3631 msgstr ""
3632 "O expresie simplă este doar o constantă. B<bc> convertește constantele în "
3633 "numere zecimale interne folosind baza de intrare curentă, specificată de "
3634 "variabila B<ibase>.; (există o excepție în funcții). Valorile permise ale "
3635 "lui B<ibase> sunt de la 2 la 36; (bazele mai mari de 16 sunt o extensie.) "
3636 "Atribuirea unei valori în afara acestui interval la B<ibase> va avea ca "
3637 "rezultat o valoare de 2 sau 36. Numerele de intrare pot conține caracterele "
3638 "0-9 și A-Z. - Notă: Acestea trebuie să fie majuscule. Literele minuscule "
3639 "sunt nume de variabile. - Numerele cu o singură cifră au întotdeauna "
3640 "valoarea cifrei, indiferent de valoarea lui B<ibase>. (de exemplu, A = 10.) "
3641 "Pentru numerele cu mai multe cifre, B<bc> modifică toate cifrele de intrare "
3642 "mai mari sau egale cu ibase la valoarea B<ibase>-1. Acest lucru face ca "
3643 "numărul B<ZZZ> să fie întotdeauna cel mai mare număr de 3 cifre din baza de "
3644 "intrare."
3645
3646 #. type: Plain text
3647 #: opensuse-leap-16-1
3648 msgid ""
3649 "The result of the expression is the value of the first raised to the second. "
3650 "The second expression must be an integer. (If the second expression is not "
3651 "an integer, a warning is generated and the expression is truncated to get an "
3652 "integer value.) The scale of the result is B<scale> if the exponent is "
3653 "negative. If the exponent is positive the scale of the result is the "
3654 "minimum of the scale of the first expression times the value of the exponent "
3655 "and the maximum of B<scale> and the scale of the first expression. (e.g. "
3656 "scale(a^b) = min(scale(a)*b, max( B<scale,> scale(a))).) It should be "
3657 "noted that expr^0 will always return the value of 1."
3658 msgstr ""
3659 "Rezultatul expresiei este valoarea primei expresii ridicată la a doua. A "
3660 "doua expresie trebuie să fie un număr întreg; (dacă a doua expresie nu este "
3661 "un număr întreg, este generat un avertisment și expresia este trunchiată "
3662 "pentru a obține o valoare întreagă). Scala rezultatului este B<scale> dacă "
3663 "exponentul este negativ. Dacă exponentul este pozitiv, scala rezultatului "
3664 "este minimul dintre scala primei expresii înmulțit cu valoarea exponentului "
3665 "și maximul dintre B<scale> și scala primei expresii; (de exemplu: scale(a^b) "
3666 "= min(scale(a)*b, max( B<scale,> scale(a)))). Trebuie remarcat faptul că "
3667 "expr^0 va returna întotdeauna valoarea 1."
3668
3669 #. type: Plain text
3670 #: opensuse-leap-16-1
3671 msgid ""
3672 "Boolean operations are also legal. (POSIX B<bc> does NOT have boolean "
3673 "operations). The result of all boolean operations are 0 and 1 (for false and "
3674 "true) as in relational expressions. The boolean operators are:"
3675 msgstr ""
3676 "Operațiile booleene sunt, de asemenea, valabile; (B<bc> POSIX NU are "
3677 "operații booleene). Rezultatul tuturor operațiilor booleene sunt 0 și 1 "
3678 "(pentru fals (false) și adevărat (true)) ca în expresiile relaționale. "
3679 "Operatorii booleeni sunt:"
3680
3681 #. type: Plain text
3682 #: opensuse-leap-16-1
3683 msgid ""
3684 "Statements (as in most algebraic languages) provide the sequencing of "
3685 "expression evaluation. In B<bc> statements are executed \"as soon as "
3686 "possible.\" Execution happens when a newline in encountered and there is one "
3687 "or more complete statements. Due to this immediate execution, newlines are "
3688 "very important in B<bc>. In fact, both a semicolon and a newline are used as "
3689 "statement separators. An improperly placed newline will cause a syntax "
3690 "error. Because newlines are statement separators, it is possible to hide a "
3691 "newline by using the backslash character. The sequence \"\\eE<lt>nlE<gt>\", "
3692 "where E<lt>nlE<gt> is the newline appears to B<bc> as whitespace instead of "
3693 "a newline. A statement list is a series of statements separated by "
3694 "semicolons and newlines. The following is a list of B<bc> statements and "
3695 "what they do: (Things enclosed in brackets ([]) are optional parts of the "
3696 "statement.)"
3697 msgstr ""
3698 "Instrucțiunile (ca în majoritatea limbajelor algebrice) asigură secvența de "
3699 "evaluare a expresiilor. În B<bc> instrucțiunile sunt executate „de îndată ce "
3700 "este posibil”. Execuția are loc atunci când este întâlnită o linie nouă și "
3701 "există una sau mai multe instrucțiuni complete. Datorită acestei execuții "
3702 "imediate, liniile noi sunt foarte importante în B<bc>. De fapt, atât punctul "
3703 "și virgula, cât și linia nouă sunt utilizate ca separatoare de instrucțiuni. "
3704 "O linie nouă plasată necorespunzător va cauza o eroare de sintaxă. Deoarece "
3705 "liniile noi sunt separatoare de instrucțiuni, este posibil să se ascundă o "
3706 "linie nouă prin utilizarea caracterului de bară oblică inversă. Secvența "
3707 "„\\eE<lt>nlE<gt>”, unde E<lt>nlE<gt> este linia nouă, apare pentru B<bc> ca "
3708 "spațiu alb în loc de o linie nouă. O listă de instrucțiuni este o serie de "
3709 "instrucțiuni separate prin punct și virgulă și linii noi. Următoarea este o "
3710 "listă de instrucțiuni B<bc> și ce fac acestea: (Lucrurile incluse în "
3711 "paranteze ([]) sunt părți opționale ale instrucțiunii)."
3712
3713 #. type: Plain text
3714 #: opensuse-leap-16-1
3715 msgid ""
3716 "This statement does one of two things. If the expression starts with "
3717 "\"E<lt>variableE<gt> E<lt>assignmentE<gt> ...\", it is considered to be an "
3718 "assignment statement. If the expression is not an assignment statement, the "
3719 "expression is evaluated and printed to the output. After the number is "
3720 "printed, a newline is printed. For example, \"a=1\" is an assignment "
3721 "statement and \"(a=1)\" is an expression that has an embedded assignment. "
3722 "All numbers that are printed are printed in the base specified by the "
3723 "variable B<obase>. The legal values for B< obase> are 2 through "
3724 "BC_BASE_MAX. (See the section LIMITS.) For bases 2 through 16, the usual "
3725 "method of writing numbers is used. For bases greater than 16, B<bc> uses a "
3726 "multi-character digit method of printing the numbers where each higher base "
3727 "digit is printed as a base 10 number. The multi-character digits are "
3728 "separated by spaces. Each digit contains the number of characters required "
3729 "to represent the base ten value of \"obase-1\". Since numbers are of "
3730 "arbitrary precision, some numbers may not be printable on a single output "
3731 "line. These long numbers will be split across lines using the \"\\e\" as "
3732 "the last character on a line. The maximum number of characters printed per "
3733 "line is 70. Due to the interactive nature of B<bc>, printing a number "
3734 "causes the side effect of assigning the printed value to the special "
3735 "variable B<last>. This allows the user to recover the last value printed "
3736 "without having to retype the expression that printed the number. Assigning "
3737 "to B<last> is legal and will overwrite the last printed value with the "
3738 "assigned value. The newly assigned value will remain until the next number "
3739 "is printed or another value is assigned to B<last>. (Some installations may "
3740 "allow the use of a single period (.) which is not part of a number as a "
3741 "short hand notation for for B<last>.)"
3742 msgstr ""
3743 "Această instrucțiune face unul din două lucruri. Dacă expresia începe cu "
3744 "„E<lt>variableE<gt> E<lt>assignmentE<gt> ...”, aceasta este considerată a fi "
3745 "o instrucțiune de atribuire. Dacă expresia nu este o instrucțiune de "
3746 "atribuire, expresia este evaluată și imprimată la ieșire. După imprimarea "
3747 "numărului, este imprimată o linie nouă. De exemplu, „a=1” este o "
3748 "instrucțiune de atribuire, iar „(a=1)” este o expresie care are o atribuire "
3749 "încorporată. Toate numerele care sunt imprimate sunt imprimate în baza "
3750 "specificată de variabila B<obase>. Valorile valabile pentru B<obase> sunt de "
3751 "la 2 până la BC_BASE_MAX; (ase vedea secțiunea LIMITE.) Pentru bazele de la "
3752 "2 la 16, se utilizează metoda obișnuită de scriere a numerelor. Pentru baze "
3753 "mai mari de 16, B<bc> utilizează o metodă de imprimare a cifrelor cu mai "
3754 "multe caractere, în care fiecare cifră de bază superioară este imprimată ca "
3755 "un număr de bază 10. Cifrele cu mai multe caractere sunt separate prin "
3756 "spații. Fiecare cifră conține numărul de caractere necesare pentru a "
3757 "reprezenta valoarea în bază zece a „obase-1”. Deoarece numerele sunt de o "
3758 "precizie arbitrară, este posibil ca unele numere să nu poată fi imprimate pe "
3759 "o singură linie de ieșire. Aceste numere lungi vor fi împărțite pe linii "
3760 "folosind „\\e” ca ultim caracter pe o linie. Numărul maxim de caractere "
3761 "imprimate pe linie este de 70. Datorită naturii interactive a B<bc>, "
3762 "imprimarea unui număr are ca efect secundar atribuirea valorii imprimate "
3763 "variabilei speciale B<last>. Acest lucru permite utilizatorului să "
3764 "recupereze ultima valoare imprimată fără a fi nevoit să rescrie expresia "
3765 "care a imprimat numărul. Atribuirea la B<last> este valabilă și va "
3766 "suprascrie ultima valoare imprimată cu valoarea atribuită. Valoarea nou "
3767 "atribuită va rămâne până la imprimarea următorului număr sau până la "
3768 "atribuirea unei alte valori la B<last>; (unele instalații pot permite "
3769 "utilizarea unui singur punct (.) care nu face parte dintr-un număr ca "
3770 "notație scurtă pentru B<last>)."
3771
3772 #. type: Plain text
3773 #: opensuse-leap-16-1
3774 msgid ""
3775 "Functions may be defined as B<void>. A void funtion returns no value and "
3776 "thus may not be used in any place that needs a value. A void function does "
3777 "not produce any output when called by itself on an input line. The key word "
3778 "B<void> is placed between the key word B<define> and the function name. For "
3779 "example, consider the following session."
3780 msgstr ""
3781 "Funcțiile pot fi definite ca B<void>. O funcție vidă nu returnează nicio "
3782 "valoare și, prin urmare, nu poate fi utilizată în niciun loc care necesită o "
3783 "valoare. O funcție vidă nu produce niciun rezultat atunci când este apelată "
3784 "singură pe o linie de intrare. Cuvântul cheie B<void> este plasat între "
3785 "cuvântul cheie B<define> și numele funcției. De exemplu, luați în "
3786 "considerare următoarea sesiune."
3787
3788 #. type: Plain text
3789 #: opensuse-leap-16-1
3790 #, no-wrap
3791 msgid ""
3792 "CW< /* Check the sign of x. */\n"
3793 " if (xE<lt>0) {\n"
3794 " m = 1\n"
3795 " x = -x\n"
3796 " } >\n"
3797 msgstr ""
3798 "CW<\n"
3799 " /* Verifică semnul lui x. */>\n"
3800 "CW<\n"
3801 " if (xE<lt>0) {>\n"
3802 "CW<\n"
3803 " m = 1>\n"
3804 "CW<\n"
3805 " x = -x>\n"
3806 "CW<\n"
3807 " } >\n"