Skip to content

Commit

Permalink
release 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
chocolateboy committed Aug 23, 2010
1 parent 5746b62 commit 5d56474
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for Perl extension Scalar::Util::Numeric.

0.11 Mon Aug 23 17:52:30 2010
- only show diagnostics for failing tests

0.10 Sat Aug 21 14:16:07 2010
- bump min perl version to 5.8.0
- implement all functions in XS
Expand Down
5 changes: 2 additions & 3 deletions META.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Scalar-Util-Numeric
version: 0.10
version: 0.11
abstract: numeric tests for Perl scalars
author:
- chocolateboy <chocolate@cpan.org>, Michael G Schwern <schwern@pobox.com>
Expand All @@ -10,8 +10,7 @@ configure_requires:
ExtUtils::MakeMaker: 0
build_requires:
ExtUtils::MakeMaker: 0
requires:
Test::More: 0
requires: {}
resources:
repository: http://github.com/schwern/Scalar-Util-Numeric
no_index:
Expand Down
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Scalar-Util-Numeric version 0.10
Scalar-Util-Numeric version 0.11
================================

This module exports a number of wrappers around perl's builtin looks_like_number function, which
Expand Down
20 changes: 19 additions & 1 deletion lib/Scalar/Util/Numeric.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use warnings;
use base qw(Exporter);
use XSLoader;

our $VERSION = '0.10';
our $VERSION = '0.11';

our %EXPORT_TAGS = (
'all' => [ qw(isbig isfloat isinf isint isnan isneg isnum isuv) ],
Expand Down Expand Up @@ -66,6 +66,20 @@ The numeric type is a conjunction of the following flags:
0x10 IS_NUMBER_INFINITY (Infinity)
0x20 IS_NUMBER_NAN (NaN - not a number)
=head2 isint
=head2 isuv
=head2 isbig
=head2 isfloat
=head2 isneg
=head2 isinf
=head2 isnan
The following flavours of C<isnum> (corresponding to the flags above) are also available:
isint
Expand Down Expand Up @@ -99,6 +113,10 @@ The others always return 1 or 0.
=back
=head1 VERSION
0.11
=head1 AUTHORS
=over
Expand Down

0 comments on commit 5d56474

Please sign in to comment.