Skip to content

Instantly share code, notes, and snippets.

@jvkersch
Last active March 29, 2020 10:05
Show Gist options
  • Select an option

  • Save jvkersch/cb65d3c2ba6deca287d6 to your computer and use it in GitHub Desktop.

Select an option

Save jvkersch/cb65d3c2ba6deca287d6 to your computer and use it in GitHub Desktop.
Bug in Apple's vecLib (OS X < 10.10)
/* proof-of-concept incorrect */
@jvkersch
Copy link
Author

jvkersch commented Mar 27, 2020

@matcross Thanks for the clarification, you're right. Out of curiosity, what led you to this gist? In any case, I will edit the gist to indicate that the code is incorrect.

@matcross
Copy link

Out of curiosity, what led you to this gist?

Hi, it was through Google. I was looking into some problems at NAG building our numerical libraries against vecLib. I think the search might have been 'Apple vecLib sdot' - I'd forgotten that the g77 convention did this to float-valued functions...

@jvkersch
Copy link
Author

I've checked my notes from that time, and I was trying to debug a similar issue (with NumPy indirectly calling into vecLib).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment