[perldocjp-cvs 1775] CVS update: docs/modules/bignum-0.23

Zurück zum Archiv-Index

argra****@users***** argra****@users*****
2013年 5月 4日 (土) 04:58:17 JST


Index: docs/modules/bignum-0.23/bigint.pod
diff -u docs/modules/bignum-0.23/bigint.pod:1.2 docs/modules/bignum-0.23/bigint.pod:1.3
--- docs/modules/bignum-0.23/bigint.pod:1.2	Sun Sep 30 04:59:29 2012
+++ docs/modules/bignum-0.23/bigint.pod	Sat May  4 04:58:16 2013
@@ -65,6 +65,8 @@
 
 =head2 use integer vs. use bigint
 
+(use integer 対 use bigint)
+
 =begin original
 
 There is one small difference between C<use integer> and C<use bigint>: the
@@ -73,10 +75,9 @@
 
 =end original
 
-There is one small difference between C<use integer> and C<use bigint>: the
-former will not affect assignments to variables and the return value of
-some functions. C<bigint> truncates these results to integer too:
-(TBT)
+C<use integer> と C<use bigint> には一つの小さな違いがあります: 前者は
+変数への代入と一部の関数の返り値には影響を与えません。
+C<bigint> もこれらの結果を整数に切り詰めます:
 
 	# perl -Minteger -wle 'print 3.2'
 	3.2
@@ -116,6 +117,8 @@
 
 =head2 Options
 
+(オプション)
+
 =begin original
 
 bigint recognizes some options that can be passed while loading it via use.
@@ -124,15 +127,16 @@
 
 =end original
 
-bigint recognizes some options that can be passed while loading it via use.
-The options can (currently) be either a single letter form, or the long form.
-The following options exist:
-(TBT)
+bigint は use で読み込むときに渡せるオプションがいくつかあります。
+オプションは(現在のところ)一文字形式と長い形式のどちらかです。
+以下のオプションがあります:
 
 =over 2
 
 =item a or accuracy
 
+(a または accuracy)
+
 =begin original
 
 This sets the accuracy for all math operations. The argument must be greater
@@ -140,9 +144,9 @@
 
 =end original
 
-This sets the accuracy for all math operations. The argument must be greater
-than or equal to zero. See Math::BigInt's bround() function for details.
-(TBT)
+これは全ての算術演算の有効桁数を設定します。
+この引数は 0 以上でなければなりません。
+詳しくは Math::BigInt の bround() 関数を参照してください。
 
 	perl -Mbigint=a,2 -le 'print 12345+1'
 
@@ -152,11 +156,12 @@
 
 =end original
 
-Note that setting precision and accurary at the same time is not possible.
-(TBT)
+精度と有効桁数を同時に設定することはできないことに注意してください。
 
 =item p or precision
 
+(p または precision)
+
 =begin original
 
 This sets the precision for all math operations. The argument can be any
@@ -167,12 +172,12 @@
 
 =end original
 
-This sets the precision for all math operations. The argument can be any
-integer. Negative values mean a fixed number of digits after the dot, and
-are <B>ignored</B> since all operations happen in integer space.
-A positive value rounds to this digit left from the dot. 0 or 1 mean round to
-integer and are ignore like negative values.
-(TBT)
+これは全ての算術演算の精度を設定します。
+引数は任意の整数です。
+負の値は小数点の後の固定桁数を意味し、全ての演算は整数の範囲で行われるので
+これは B<無視されます> 。
+正数は小数点からこの値だけ左側の数字で丸めます。
+0 または 1 は整数に丸めることを意味し、負数と同様に無視されます。
 
 =begin original
 
@@ -180,8 +185,7 @@
 
 =end original
 
-See Math::BigInt's bfround() function for details.
-(TBT)
+詳しくは Math::BigInt の bfround() 関数を参照してください。
 
 	perl -Mbignum=p,5 -le 'print 123456789+123'
 
@@ -191,8 +195,7 @@
 
 =end original
 
-Note that setting precision and accurary at the same time is not possible.
-(TBT)
+精度と有効桁数を同時に設定することはできないことに注意してください。
 
 =item t or trace
 
@@ -291,6 +294,8 @@
 
 =head2 Math Library
 
+(算術ライブラリ)
+
 =begin original
 
 Math with the numbers is done (by default) by a module called
@@ -365,6 +370,8 @@
 
 =head2 Internal Format
 
+(内部形式)
+
 =begin original
 
 The numbers are stored as objects, and their internals might change at anytime,
@@ -397,6 +404,8 @@
 
 =head2 Sign
 
+(符号)
+
 =begin original
 
 The sign is either '+', '-', 'NaN', '+inf' or '-inf'.
@@ -425,6 +434,8 @@
 
 =head2 Methods
 
+(メソッド)
+
 =begin original
 
 Since all numbers are now objects, you can use all functions that are part of
@@ -602,6 +613,8 @@
 
 =head2 MATH LIBRARY
 
+(算術ライブラリ)
+
 =begin original
 
 Math with the numbers is done (by default) by a module called
@@ -645,17 +658,30 @@
 
 but calling any method that modifies the number directly will result in
 B<both> the original and the copy being destroyed:
-	
+
+=end original
+
+but calling any method that modifies the number directly will result in
+B<both> the original and the copy being destroyed:
+(TBT)
+
 	$x = 9; $y = $x;
 	print $x->badd(1), " ", $y,"\n";	# prints 10 10
-	
+
         $x = 9; $y = $x;
 	print $x->binc(1), " ", $y,"\n";	# prints 10 10
-        
+
 	$x = 9; $y = $x;
 	print $x->bmul(2), " ", $y,"\n";	# prints 18 18
-	
+
+=begin original
+
+Using methods that do not modify, but testthe contents works:
+
+=end original
+
 Using methods that do not modify, but testthe contents works:
+(TBT)
 
 	$x = 9; $y = $x;
 	$z = 9 if $x->is_zero();		# works fine
@@ -740,6 +766,8 @@
 
 =head1 MODULES USED
 
+(使用するモジュール)
+
 =begin original
 
 C<bigint> is just a thin wrapper around various modules of the Math::BigInt
@@ -767,11 +795,19 @@
 
 =head1 EXAMPLES
 
+(例)
+
 =begin original
 
 Some cool command line examples to impress the Python crowd ;) You might want
 to compare them to the results under -Mbignum or -Mbigrat:
- 
+
+=end original
+
+Some cool command line examples to impress the Python crowd ;) You might want
+to compare them to the results under -Mbignum or -Mbigrat:
+(TBT)
+
 	perl -Mbigint -le 'print sqrt(33)'
 	perl -Mbigint -le 'print 2*255'
 	perl -Mbigint -le 'print 4.5+2*255'
@@ -784,16 +820,8 @@
 
 =head1 LICENSE
 
-=begin original
-
-This program is free software; you may redistribute it and/or modify it under
-the same terms as Perl itself.
-
-=end original
-
 This program is free software; you may redistribute it and/or modify it under
 the same terms as Perl itself.
-(TBT)
 
 =head1 SEE ALSO
 
@@ -804,9 +832,8 @@
 
 =end original
 
-Especially L<bigrat> as in C<perl -Mbigrat -le 'print 1/3+1/4'> and
-L<bignum> as in C<perl -Mbignum -le 'print sqrt(2)'>.
-(TBT)
+特に C<perl -Mbigrat -le 'print 1/3+1/4'> のような L<bigrat> と
+C<perl -Mbignum -le 'print sqrt(2)'> のような L<bignum>。
 
 =begin original
 
@@ -815,9 +842,8 @@
 
 =end original
 
-L<Math::BigInt>, L<Math::BigRat> and L<Math::Big> as well
-as L<Math::BigInt::BitVect>, L<Math::BigInt::Pari> and  L<Math::BigInt::GMP>.
-(TBT)
+L<Math::BigInt>, L<Math::BigRat>, L<Math::Big> および
+L<Math::BigInt::BitVect>, L<Math::BigInt::Pari>, L<Math::BigInt::GMP>。
 
 =head1 AUTHORS
 
Index: docs/modules/bignum-0.23/bignum.pod
diff -u docs/modules/bignum-0.23/bignum.pod:1.2 docs/modules/bignum-0.23/bignum.pod:1.3
--- docs/modules/bignum-0.23/bignum.pod:1.2	Sun Sep 30 04:59:29 2012
+++ docs/modules/bignum-0.23/bignum.pod	Sat May  4 04:58:16 2013
@@ -286,6 +286,8 @@
 
 =head2 Options
 
+(オプション)
+
 =begin original
 
 bignum recognizes some options that can be passed while loading it via use.
@@ -448,6 +450,8 @@
 
 =head2 Methods
 
+(メソッド)
+
 =begin original
 
 Beside import() and AUTOLOAD() there are only a few other methods.
@@ -705,6 +709,8 @@
 
 =head2 Math Library
 
+(算術ライブラリ)
+
 =begin original
 
 Math with the numbers is done (by default) by a module called
@@ -779,6 +785,8 @@
 
 =head2 INTERNAL FORMAT
 
+(内部形式)
+
 =begin original
 
 The numbers are stored as objects, and their internals might change at anytime,
@@ -811,6 +819,8 @@
 
 =head2 SIGN
 
+(符号)
+
 =begin original
 
 The sign is either '+', '-', 'NaN', '+inf' or '-inf' and stored seperately.
@@ -906,6 +916,8 @@
 
 =head1 MODULES USED
 
+(使用するモジュール)
+
 =begin original
 
 C<bignum> is just a thin wrapper around various modules of the Math::BigInt
@@ -934,6 +946,8 @@
 
 =head1 EXAMPLES
 
+(例)
+
 =begin original
 
 Some cool command line examples to impress the Python crowd ;)
@@ -967,8 +981,7 @@
 
 =end original
 
-Especially L<bigrat> as in C<perl -Mbigrat -le 'print 1/3+1/4'>.
-(TBT)
+特に C<perl -Mbigrat -le 'print 1/3+1/4'> のような L<bigrat>。
 
 =begin original
 
@@ -977,9 +990,8 @@
 
 =end original
 
-L<Math::BigFloat>, L<Math::BigInt>, L<Math::BigRat> and L<Math::Big> as well
-as L<Math::BigInt::BitVect>, L<Math::BigInt::Pari> and  L<Math::BigInt::GMP>.
-(TBT)
+L<Math::BigFloat>, L<Math::BigInt>, L<Math::BigRat>, L<Math::Big> および
+L<Math::BigInt::BitVect>, L<Math::BigInt::Pari>, L<Math::BigInt::GMP>。.
 
 =head1 AUTHORS
 
Index: docs/modules/bignum-0.23/bigrat.pod
diff -u docs/modules/bignum-0.23/bigrat.pod:1.2 docs/modules/bignum-0.23/bigrat.pod:1.3
--- docs/modules/bignum-0.23/bigrat.pod:1.2	Sun Sep 30 04:59:29 2012
+++ docs/modules/bignum-0.23/bigrat.pod	Sat May  4 04:58:16 2013
@@ -55,6 +55,8 @@
 
 =head2 Modules Used
 
+(使用するモジュール)
+
 =begin original
 
 C<bigrat> is just a thin wrapper around various modules of the Math::BigInt
@@ -84,6 +86,8 @@
 
 =head2 Math Library
 
+(算術ライブラリ)
+
 =begin original
 
 Math with the numbers is done (by default) by a module called
@@ -158,6 +162,8 @@
 
 =head2 Sign
 
+(符号)
+
 =begin original
 
 The sign is either '+', '-', 'NaN', '+inf' or '-inf'.
@@ -184,6 +190,8 @@
 
 =head2 Methods
 
+(メソッド)
+
 =begin original
 
 Since all numbers are not objects, you can use all functions that are part of
@@ -349,6 +357,8 @@
 
 =head2 MATH LIBRARY
 
+(算術ライブラリ)
+
 =begin original
 
 Math with the numbers is done (by default) by a module called
@@ -444,6 +454,8 @@
 
 =head2 Options
 
+(オプション)
+
 =begin original
 
 bignum recognizes some options that can be passed while loading it via use.
@@ -672,7 +684,9 @@
 =back
 
 =head1 EXAMPLES
- 
+
+(例)
+
 	perl -Mbigrat -le 'print sqrt(33)'
 	perl -Mbigrat -le 'print 2*255'
 	perl -Mbigrat -le 'print 4.5+2*255'
@@ -703,9 +717,8 @@
 
 =end original
 
-L<Math::BigFloat>, L<Math::BigInt>, L<Math::BigRat> and L<Math::Big> as well
-as L<Math::BigInt::BitVect>, L<Math::BigInt::Pari> and  L<Math::BigInt::GMP>.
-(TBT)
+L<Math::BigFloat>, L<Math::BigInt>, L<Math::BigRat>, L<Math::Big> および
+L<Math::BigInt::BitVect>, L<Math::BigInt::Pari>, L<Math::BigInt::GMP>。
 
 =head1 AUTHORS
 



perldocjp-cvs メーリングリストの案内
Zurück zum Archiv-Index