<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 50: fmod inconsistence between jacl and tclsh</title><link href="https://sourceforge.net/p/tcljava/bugs/50/" rel="alternate"/><link href="https://sourceforge.net/p/tcljava/bugs/50/feed.atom" rel="self"/><id>https://sourceforge.net/p/tcljava/bugs/50/</id><updated>2009-01-15T03:48:39Z</updated><subtitle>Recent changes to 50: fmod inconsistence between jacl and tclsh</subtitle><entry><title>fmod inconsistence between jacl and tclsh</title><link href="https://sourceforge.net/p/tcljava/bugs/50/" rel="alternate"/><published>2009-01-15T03:48:39Z</published><updated>2009-01-15T03:48:39Z</updated><author><name>Ivan Inozemtsev</name><uri>https://sourceforge.net/u/ivaninozemtsev/</uri></author><id>https://sourceforge.net46452c3dc02b3cbf48e69e2a88688e42cb6c4cb9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In TCL shell fmod function returns a reminder in range [0:denominator) while jacl fmod returns reminder in range [-denominator/2:denominator/2)&lt;br /&gt;
So expr {fmod(8,5)} returns 3 in tcl shell and -2 in jacl.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>