develooper Front page | perl.perl6.internals | Postings from May 2008

[perl #45015] [TODO] Create a 'Rational' PMC for rational numbers

From:
Bernhard Schmalhofer via RT
Date:
May 9, 2008 03:11
Subject:
[perl #45015] [TODO] Create a 'Rational' PMC for rational numbers
On Mi. 07. Mai 2008, 13:55:13, desertmax wrote:
> As discussed on IRC, I've replaced print "foo" print "\n" with say
> "foo". Furthermore, I've added tests for init and version, if GMP is not
> available and one test for version, if GMP is present.
> The constructor does not raise an exception anymore, if GMP is not
> available. This gives users a chance to check at runtime whether GMP is
> available using the version method.

Hi,

I tested this under Linux with an installed GMP and it looks OK.
This will be useful for Eclectus.
However, some codingstd tests are failing. Could you, desertmax, take a
look at: 
t/codingstd/c_cppcomments.t  
t/codingstd/c_indent.t   
t/codingstd/c_operator.t    
t/codingstd/linelength.t   
t/codingstd/trailing_space.t  

Best regards,
  Bernhard

-- 
/* Bernhard.Schmalhofer@gmx.de */



Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About