Changeset 66b967 in git


Ignore:
Timestamp:
Mar 16, 2012, 9:28:10 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
da5d77927205b9034ed31fba754cd3988b932fd5
Parents:
5a72fe43aa1fbae0fb93ebbff5685375e726f93c
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-16 21:28:10+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-03-17 05:42:18+01:00
Message:
gmp_float::is(One|MOne|Zero) are const methods
Location:
libpolys/coeffs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/mpr_complex.cc

    r5a72fe r66b967  
    251251}
    252252// t == 0 ?
    253 bool gmp_float::isZero()
     253bool gmp_float::isZero() const
    254254{
    255255  return (mpf_sgn( t ) == 0);
    256256}
    257257// t == 1 ?
    258 bool gmp_float::isOne()
     258bool gmp_float::isOne() const
    259259{
    260260#ifdef  VARIANTE_1
     
    272272}
    273273// t == -1 ?
    274 bool gmp_float::isMOne()
     274bool gmp_float::isMOne() const
    275275{
    276276#ifdef VARIANTE_1
  • libpolys/coeffs/mpr_complex.h

    r5a72fe r66b967  
    126126  { return mpf_sgn( t ); };
    127127
    128   bool isZero();  // t == 0 ?
    129   bool isOne();   // t == 1 ?
    130   bool isMOne();  // t == -1 ?
     128  bool isZero() const;  // t == 0 ?
     129  bool isOne() const;   // t == 1 ?
     130  bool isMOne() const;  // t == -1 ?
    131131
    132132  void setFromStr(const char * in );
Note: See TracChangeset for help on using the changeset viewer.