View Single Post
  #2   Spotlight this post!  
Unread 01-31-2013, 10:48 PM
sur sur is offline
Registered User
AKA: Sujit Rao
FRC #3324 (Metrobots)
Team Role: Alumni
 
Join Date: May 2012
Rookie Year: 2011
Location: Ohio
Posts: 12
sur is an unknown quantity at this point
Re: remainder function

It seems to be defined if you use the C compiler, but not the C++ one. You could use fmod, which has slightly different behavior.

You can test it out here: http://codepad.org/86MlmNXU
Reply With Quote