comparison oct-conf-post.in.h @ 20584:0cefba1a1030

Make mod() and rem() Matlab compatible for corner cases (bug #45587). * data.cc(Frem): Update docstring. Update and add BIST tests. * data.cc(Fmod): Update docstring. Update and add BIST tests. * lo-mappers.h: Add #include lo-ieee.h to get octave_NaN definition. * lo-mappers.h(xrem): Return NaN if second input is 0. Always use signbit of first input argument to decide sign of output. * lo-mappers.h(xmod): Always use signbit of second input argument to decide sign of output.
author Rik <rik@octave.org>
date Wed, 22 Jul 2015 09:46:42 -0700
parents 4197fc428c7d
children
comparison
equal deleted inserted replaced
20583:3c70050faa1e 20584:0cefba1a1030