close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 3385 for branches


Ignore:
Timestamp:
2015-08-27T08:41:52-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/ring.lisp

    r3384 r3385  
    127127  (:method ((x integer) (y integer)) (expt x y))
    128128  (:method (x  (y integer))
    129     (declare (type fixnum n))
     129    (declare (type fixnum y))
    130130    (cond
    131       ((minusp n) (error "r-expt: Negative exponent."))
    132       ((endp poly) (if (zerop n) 1))
     131      ((minusp y) (error "r-expt: Negative exponent."))
     132      ((r-zerop x) (if (zerop y) 1))
    133133      (t
    134134       (do ((k 1 (ash k 1))
Note: See TracChangeset for help on using the changeset viewer.