# HG changeset patch # User Michael Goffioul # Date 1213366302 -7200 # Node ID ef58fdddd7f94e68da67c3108ece77e10410d78a # Parent ceab6e87b1bf9ad230ed0ad0052d109ac23bf683 Remove atan2(float,float) ambiguity. diff -r ceab6e87b1bf -r ef58fdddd7f9 atan2_float --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/atan2_float Fri Jun 13 16:11:42 2008 +0200 @@ -0,0 +1,23 @@ +diff -r b5ca3e646c88 liboctave/ChangeLog +--- a/liboctave/ChangeLog Thu Jun 12 10:42:26 2008 +0200 ++++ b/liboctave/ChangeLog Fri Jun 13 16:10:44 2008 +0200 +@@ -1,3 +1,7 @@ ++2008-06-13 Michael Goffioul ++ ++ * lo-mappers.cc: remove ambiguity about atan2(float,float) usage. ++ + 2008-06-05 John W. Eaton + + * oct-shlib.cc (octave_base_shlib::remove): Only dereference +diff -r b5ca3e646c88 liboctave/lo-mappers.cc +--- a/liboctave/lo-mappers.cc Thu Jun 12 10:42:26 2008 +0200 ++++ b/liboctave/lo-mappers.cc Fri Jun 13 16:10:44 2008 +0200 +@@ -402,7 +402,7 @@ + float + arg (float x) + { +- return atan2 (0.0, x); ++ return atan2 (0.0f, x); + } + + float diff -r ceab6e87b1bf -r ef58fdddd7f9 series --- a/series Thu Jun 12 10:43:14 2008 +0200 +++ b/series Fri Jun 13 16:11:42 2008 +0200 @@ -1,3 +1,4 @@ mkoctfile_cpp mkoctfile_cpp_cleanup_o_files configure_CXXFLAGS_restore +atan2_float