Home
last modified time | relevance | path

Searched refs:display_format (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/usr.bin/perl/dist/Math-Complex/t/
H A DComplex.t220 print "not " unless Math::Complex->display_format eq 'cartesian';
227 \$j->display_format('polar');
233 print "not " unless \$j->display_format eq 'polar';
243 my %display_format;
245 %display_format = \$j->display_format;
251 print "not " unless \$display_format{style} eq 'polar';
258 print "not " unless keys %display_format == 2;
261 \$j->display_format('style' => 'cartesian', 'format' => '%.5f');
270 %display_format = \$j->display_format;
276 print "not " unless \$display_format{format} eq '%.5f';
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/Math-Complex/lib/Math/
H A DComplex.pm281 $self->display_format('cartesian');
315 $self->display_format('polar');
1421 sub display_format { subroutine
1423 my %display_format = %DISPLAY_FORMAT;
1426 if (exists $self->{display_format}) {
1427 my %obj = %{$self->{display_format}};
1428 @display_format{keys %obj} = values %obj;
1432 $display_format{style} = shift;
1435 @display_format{keys %new} = values %new;
1439 $self->{display_format} = { %display_format };
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/Math-Complex/
H A DChangeLog374 display_format used as a class method without arguments was broken,
377 Subject: Math::Complex->display_format() sets style to 'Math::Complex'
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperl56delta.pod1100 The class method C<display_format> and the corresponding object method
1101 C<display_format>, in addition to accepting just one argument, now can
H A Dperl561delta.pod1698 The class method C<display_format> and the corresponding object method
1699 C<display_format>, in addition to accepting just one argument, now can