• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: division with long long
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: division with long long


  • Subject: Re: division with long long
  • From: Mason Mark <email@hidden>
  • Date: Fri, 21 Dec 2001 00:54:55 -0800

On Friday, December 21, 2001, at 12:40 AM, Izidor Jerebic wrote:

On Wednesday, December 19, 2001, at 12:01 PM, Mason Mark wrote:

Isn't there some library that ships with Mac OS X which has functions for doing division with 64-bit long long integers? I believe libgcc has such stuff, but was almost certain that there is something already on my mac where these functions are found.


Back in OpenStep (m68k,intel) days there was no need to have a library to do that. Just write:

long long a, b, c ;

c = a / b ;

I do not know what happened since then with gcc and support for long long on powerpc.


Nothing happened, that still does work. I was barking up the wrong tree (it was just a typo, not a problem with long long division as I had thought)...

Thanks,
--
Mason


References: 
 >Re: division with long long (From: Izidor Jerebic <email@hidden>)

  • Prev by Date: Re(4): CriticalAlert
  • Next by Date: RE: NSRunCriticalAlertPanel doesn't behave as I expected.
  • Previous by thread: Re: division with long long
  • Next by thread: OT: Software Update
  • Index(es):
    • Date
    • Thread