[system] Repository:
ViewVC logotype

Revision 219


Jump to revision: Previous Next
Author: gage
Date: Mon Sep 24 16:52:17 2001 UTC (18 years, 1 month ago)
Log Message:
Added documentation and _PG....macros_int functions to these files.

In PGcomplexmacros.pl I removed the automatic exportation of log() from
PGcomplexmacros.pl since
this (and sqrt() ) cause conflicts with CORE::log() and CORE::sqrt().
-- Warnings of the form "Ambiguous call to   ..... resolved in favor of
CORE::... " etc.

The functions can always be accessed by Complex::log() and Complex::sqrt()
when needed for complex numbers.

There may be a more sophisticated method of exporting these calls which
would avoid the warnings and remain transparent both to those who are
using complex numbers and those who are not.  If anyone has any ideas they
will be welcome.  The code to modify is at the top of the
PGcomplexmacros.pl file inside the _PGcomplexmacros_init subroutine.

Changed paths:

Path Details
Directorytrunk/webwork/system/courseScripts/PGcomplexmacros.pl modified , text changed
Directorytrunk/webwork/system/courseScripts/PGmatrixmacros.pl modified , text changed

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9