AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
Matt
May 23, 2009 01:15PM
I agree floor(-4.3) = -5, but ccalc -fint -4.3 gives me -4. And ccalc -int -4.9 gives me -4, even though the closest integer to -4.9 should -5, right? For numbers greater than 0, int is rounds to the nearest integer, not just truncation ( ccalc -int 4.9 gives 5 ).

I got around taking the absolute value first, with abs(), rounding, then using ispositive() and isnegative().

Matt
Subject Author Posted

ccalc int and fint bug

Matt May 22, 2009 11:52AM

Re: ccalc int and fint bug

Matt May 22, 2009 12:08PM

Re: ccalc int and fint bug

rick reynolds May 22, 2009 11:13PM

Re: ccalc int and fint bug

Matt May 23, 2009 01:15PM

Re: ccalc int and fint bug

rick reynolds May 24, 2009 09:43AM

ccalc int and fint bug - UPDATED

rick reynolds May 28, 2009 11:13AM