Search results

  1. B

    c question

    How many decimal places do you need to calculate to? What are you doing?
  2. B

    c question

    It's a shame that there isn't a unsigned float type. And yeah, lookling at that article I can see why!
  3. B

    c question

    On a related topic. Is double equivalent to long or long long? If I was to have an 'unsigned double' data type what would happen if it got sent a negative value, does it default to zero or just give out an error?
  4. B

    Automatic Vectorisation in GCC 4.0

    I found this in Apple's site High Performance Computing In Tiger. This bit caught by eye: Does this mean there is no point in using the accelerate framework? Does the compiler automatically access the AlitVec? Sounds to good to be true ...
  5. B

    Where does Xcode look for header files?

    Hi Viro, Cheers for that. Saves me a few weeks in writing my own interpolation etc functions. dan
  6. B

    Where does Xcode look for header files?

    Hi everybody, I have installed GSL GNU Scientific Library using the Darwin Ports Application. The files are built and placed in folder call 'gsl' in directory /opt/local/include/. How do I tell Xcode to find the new GSL headers in this include directory? So that I can include as normal...
  7. B

    Media Event Video...?

    It's always great to see Steve talk, but apple haven't posted it?
  8. B

    XCode Build Problem - Please HELP!

    I'm sure you know this but as your really running out of time I thought I'd post it in the off chance that it will be helpful. You have to import files to a new project you can't just add them to the new folder. Go to project menu and find add to project. S**t that sounds dumb, don't know...
  9. B

    How C Code Looks in Assembler

    It's pretty quiet on this board at the moment... I saw this dug on digg.com a few week back. It's really interesting. Makes you wonder if knowing a bit of assembler might make you be able to tweek for really high performance ... then again it will probably turn into a horrible mess! What...
  10. B

    Strange behaviour: yes it's my fault but I can't find the mistake!

    Hello again, No joy! I've overidden the -init method so that it loops through as we have discussed but it doen't make any difference? See the attached screen shot from the debugger. The really strange thing is it works when I initialise from inside the main function just after I've create...
  11. B

    Strange behaviour: yes it's my fault but I can't find the mistake!

    From a programming point of view it would be nice to put the initialisation to zero inside the -init method. Think it will lead to less mistakes because I don't have to remember the special case everytime I want to make an ArrayOfTwoColumns instance. Would you agree Squart?
  12. B

    Strange behaviour: yes it's my fault but I can't find the mistake!

    No nothing has changed in the code. I am hoping that by overriding -init I could alloc the space required ... ? You saying this won't work? Daniel
  13. B

    Strange behaviour: yes it's my fault but I can't find the mistake!

    I arrived at the same code.self = [super init]; if( self ) { unsigned int i; for (i=0; i<=(201-1); i++) { [self setXColumnElement:i To:0.0]; [self setYColumnElement:i To:0.0]; } } return self; I found the code for -init from rentzch.com...
  14. B

    Super Hot Powerbook keeps melting feet!

    What make model is your PowerBook. I have a 1.5GHz G4 and it runs around 46 degrees C most of the time. Are you playing games when you start to get the buring smell or some other intensive CPU tasks? Daniel PS - what units is your temp? Not Celsius I hope!
  15. B

    Strange behaviour: yes it's my fault but I can't find the mistake!

    Great so it's really wasn't me this time! I was giving the responsibility to zeroing all data to the ArrayOfTwoColumns class is this where I was going wrong? Do I have to give in to TwoColumns it's self? So that everytime one is made it is zeroed? Cheers, Daniel.
  16. B

    Strange behaviour: yes it's my fault but I can't find the mistake!

    Hi everybody, I have create a class called TwoColumns:@interface TwoColumns : MyClass { double xColumn[201]; double yColumn[201]; }I have now created a second class that inherits from this called ArrayOfTwoColumns:@interface ArrayOfTwoColumns : TwoColumns { TwoColumns*...
  17. B

    TeXShop: using MacOS's Preview

    No I didn't know that! CHEERS. It makes things much more managable on a small screen. The great thing about TexShop is the pdfsync feature - this only works with the build in pdf viewer ....
  18. B

    TeXShop: using MacOS's Preview

    Hi everybody, I'm finding TexShop's built in pdf previewer a little annoying and would like to use Apple's Preview to do this job. Any idea's? I find the scrolling and scaling of the pdf page a problem, I always waste a few mins getting it write before I can read what I have done. I have a...
  19. B

    Dynamic sizing a 'Matrix' type Object ... is this possible ... ?

    Hi I have just run your code and get:DynamicAllocation has exited due to signal 10 (SIGBUS). Last time I got this message it was when I was calling and external program but my path variable wasn't set. The code compiled but at run time it could find what it need? Could that be applicable...
Back
Top