Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/Beta/Math/Double/DArithm3.hh

Go to the documentation of this file.
00001 #ifndef __J2K__DOUBLE_ARITHMETIC3_HH__
00002 #define __J2K__DOUBLE_ARITHMETIC3_HH__
00003 
00004 // Arithmetic Operators: Part 3
00005 inline friend Double operator+( const Double& l, const double d ) {
00006     return Double( l.value + d );
00007 }
00008 
00009 inline friend Double operator-( const Double& l, const double d ) {
00010     return Double( l.value - d );
00011 }
00012 
00013 inline friend Double operator*( const Double& l, const double d ) {
00014     return Double( l.value * d );
00015 }
00016 
00017 inline friend Double operator/( const Double& l, const double d ) {
00018     return Double( l.value / d );
00019 }
00020 
00021 #endif

Generated on Sun Oct 14 18:46:12 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001