[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
工学フォーマットは
maximaが浮動小数点数を出力する方法をエンジニアがよく使う記法
a*10^b
に変更します。
ここで b
は3で割り切れる数です。
56.1 Functions and Variables for engineering-format | ||
56.2 Known Bugs |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
デフォルト値: true
この変数は工学フォーマットを一時的にオフに切り返すために使います。
(%i1) load("engineering-format"); (%o1) /home/gunter/src/maxima-code/share/contrib/engineering-for\ mat.lisp (%i2) float(sin(10)/10000); (%o2) - 54.40211108893698e-6 (%i3) engineering_format_floats:false$ (%i4) float(sin(10)/10000); (%o4) - 5.440211108893698e-5 |
fpprintprec
と float
も参照してください
Categories: Display functions · Global flags · Share packages
デフォルト値: 0.0
工学フォーマットに自動的には変換されない最小絶対値。
engineering_format_max
や engineering_format_floats
も参照してください。
(%i1) lst: float([.05,.5,5,500,5000,500000]); (%o1) [0.05, 0.5, 5.0, 500.0, 5000.0, 500000.0] (%i2) load("engineering-format"); (%o2) /home/gunter/src/maxima-code/share/contrib/engineering-for\ mat.lisp (%i3) lst; (%o3) [50.0e-3, 500.0e-3, 5.0e+0, 500.0e+0, 5.0e+3, 500.0e+3] (%i4) engineering_format_min:.1$ (%i5) engineering_format_max:1000$ (%i6) lst; (%o6) [50.0e-3, 0.5, 5.0, 500.0, 5.0e+3, 500.0e+3] |
Categories: Display functions · Global flags · Share packages
デフォルト値: 0.0
工学フォーマットに自動的には変換されない最大絶対値。
engineering_format_min
や engineering_format_floats
も参照してください。
Categories: Display functions · Global flags · Share packages
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
SBCL 1.3.0の出力ルーチンには、3で割り切れない指数を時々出力するバグがあります。 この場合でも表示数の値はまだ有効です。
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by 市川雄二 on October, 4 2018 using texi2html 1.76.