Changeset f5581d in git


Ignore:
Timestamp:
Apr 7, 1998, 10:10:58 AM (26 years ago)
Author:
Wilfred Pohl <pohl@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
c6564845a521c6c8ccc870c1a1c48eb9d26072c4
Parents:
9f9c432f0eded9cd7cfa4c8b1d6655d42f8fb900
Message:
type of log must be real for Metrowerks


git-svn-id: file:///usr/local/Singular/svn/trunk@1343 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • factory/fac_univar.cc

    r9f9c43 rf5581d  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: fac_univar.cc,v 1.18 1998-04-06 12:05:51 schmidt Exp $ */
     2/* $Id: fac_univar.cc,v 1.19 1998-04-07 08:10:58 pohl Exp $ */
    33
    44#include <config.h>
     
    245245    int i, j, save;
    246246    int p = pk.getp(), k = pk.getk();
    247     int no_iter = (int)(log( (double)k )/log(2)+2);
     247    int no_iter = (int)(log( (double)k )/log(2.0)+2);
    248248    int * kvals = new int[no_iter];
    249249
Note: See TracChangeset for help on using the changeset viewer.