1N/A# Items to export into callers namespace by default. Note: do not export 1N/A# names by default without a very good reason. Use EXPORT_OK instead. 1N/A# Export everything since these functions are only used by a test script 1N/AXS::APItest - Test the perl C API 1N/AThis module tests the perl C API. Currently tests that C<printf> 1N/AThis module can be used to check that the perl C API is behaving 1N/Acorrectly. This module provides test functions and an associated 1N/Atest script that verifies the output. 1N/AThis module is not meant to be installed. 1N/AExports all the test functions: 1N/A=item B<print_double> 1N/ATest that a double-precision floating point number is formatted 1N/Acorrectly by C<printf>. 1N/A print_double( $val ); 1N/AOutput is sent to STDOUT. 1N/A=item B<print_long_double> 1N/ATest that a C<long double> is formatted correctly by 1N/AC<printf>. Takes no arguments - the test value is hard-wired 1N/Ainto the function (as "7"). 1N/A print_long_double(); 1N/AOutput is sent to STDOUT. 1N/A=item B<have_long_double> 1N/ADetermine whether a C<long double> is supported by Perl. This should 1N/Abe used to determine whether to test C<print_long_double>. 1N/A print_long_double() if have_long_double; 1N/ATest that an C<NV> is formatted correctly by 1N/AOutput is sent to STDOUT. 1N/ATest that an C<IV> is formatted correctly by 1N/AOutput is sent to STDOUT. 1N/ATest that an C<UV> is formatted correctly by 1N/AOutput is sent to STDOUT. 1N/ATest that an C<int> is formatted correctly by 1N/AOutput is sent to STDOUT. 1N/ATest that an C<long> is formatted correctly by 1N/AOutput is sent to STDOUT. 1N/ATest that a single-precision floating point number is formatted 1N/Acorrectly by C<printf>. 1N/A print_float( $val ); 1N/AOutput is sent to STDOUT. 1N/AL<XS::Typemap>, L<perlapi>. 1N/ATim Jenness, E<lt>t.jenness@jach.hawaii.eduE<gt>, 1N/AChristian Soeller, E<lt>csoelle@mph.auckland.ac.nzE<gt>, 1N/AHugo van der Sanden E<lt>hv@crypt.compulink.co.ukE<gt> 1N/A=head1 COPYRIGHT AND LICENSE 1N/ACopyright (C) 2002 Tim Jenness, Christian Soeller, Hugo van der Sanden. 1N/AThis library is free software; you can redistribute it and/or modify 1N/Ait under the same terms as Perl itself.