Post

Replies

Boosts

Views

Activity

Software update & macOS Big Sur
So I made an amateur mistake and installed macOS Big Sur on a second volume in the same APFS container as my primary volume running macOS Catalina. I missed the release note warning: "If macOS Big Sur 11 beta is installed into the same APFS container as previous versions of macOS, system software updates can no longer be installed on the previous versions of macOS. (64411484)" So my question is this: I removed the volumes containing the macOS Big Sur beta. Will system software updates on the Catalina partition work again? If not, is there a fix other than erasing and restoring from a backup?
0
0
605
Jun ’20
Floating point exception trapping on M1
I have written a simple test c++ program (below) that takes the square root of a negative number and then tries to print it out. I would like to trap the floating point exception caused by taking the square root of a negative number (e.g., I'd like the program to halt with an error after the floating point exception). On Intel Macs, I know how to do this. Is this possible on an Apple Silicon Mac? #include <cmath> #include <iostream> int main() { const double x = -1.0; double y = x; y = sqrt(y); // floating point exception...possible to build program so it terminates here? std::cout << y << "\n"; return 0; }
6
0
4.1k
Sep ’21