bc-1.06.95-doc.patch 1.1 KB

12345678910111213141516171819202122232425
  1. diff -up wrk/doc/bc.1.wrk wrk/doc/bc.1
  2. --- wrk/doc/bc.1.wrk 2013-10-02 13:36:52.066295450 +0200
  3. +++ wrk/doc/bc.1 2013-10-02 13:35:22.738553712 +0200
  4. @@ -174,6 +174,8 @@ The result of the expression is the sum
  5. The result of the expression is the difference of the two expressions.
  6. .IP "expr * expr"
  7. The result of the expression is the product of the two expressions.
  8. +If a and b are the scales of the two expressions, then the scale of the result is:
  9. +min(a+b,max(scale,a,b))
  10. .IP "expr / expr"
  11. The result of the expression is the quotient of the two expressions.
  12. The scale of the result is the value of the variable \fBscale\fR.
  13. diff -up wrk/doc/bc.texi.wrk wrk/doc/bc.texi
  14. --- wrk/doc/bc.texi.wrk 2013-10-02 13:17:01.743765518 +0200
  15. +++ wrk/doc/bc.texi 2013-10-02 13:21:04.479870656 +0200
  16. @@ -290,6 +290,8 @@ The result of the expression is the diff
  17. @item expr * expr
  18. The result of the expression is the product of the two expressions.
  19. +If a and b are the scales of the two expressions, then the scale of the result is:
  20. +min(a+b,max(@var{scale},a,b))
  21. @item expr / expr
  22. The result of the expression is the quotient of the two expressions.