Click here to Skip to main content
15,891,204 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Thought of the Day Pin
DRHuff16-Dec-19 7:27
DRHuff16-Dec-19 7:27 
GeneralRe: Thought of the Day Pin
Kschuler16-Dec-19 7:58
Kschuler16-Dec-19 7:58 
RantI really shouldn't have to do this on a platform that "supports" unicode Pin
honey the codewitch16-Dec-19 4:26
mvahoney the codewitch16-Dec-19 4:26 
GeneralRe: I really shouldn't have to do this on a platform that "supports" unicode Pin
Jörgen Andersson16-Dec-19 6:27
professionalJörgen Andersson16-Dec-19 6:27 
GeneralRe: I really shouldn't have to do this on a platform that "supports" unicode Pin
honey the codewitch16-Dec-19 6:29
mvahoney the codewitch16-Dec-19 6:29 
GeneralRe: I really shouldn't have to do this on a platform that "supports" unicode Pin
Daniel Pfeffer16-Dec-19 21:23
professionalDaniel Pfeffer16-Dec-19 21:23 
GeneralRe: I really shouldn't have to do this on a platform that "supports" unicode Pin
honey the codewitch16-Dec-19 21:28
mvahoney the codewitch16-Dec-19 21:28 
GeneralRe: I really shouldn't have to do this on a platform that "supports" unicode Pin
Daniel Pfeffer16-Dec-19 21:49
professionalDaniel Pfeffer16-Dec-19 21:49 
The best algorithm depends on the size(s) of the mantissa and the size of the machine word. See the MPFR package for details.

I have written multiplication algorithms using the standard O(N^2) method, Karatsuba's O(N^lg3) method, and the Fourier transform O(N*lg(N)*lg(lg(N))) methods.

Recently, an algorithm was described for an O(N*lg(N)) method, but I can't say that I understand it.

The big problems are actually division and square root. They can be implemented using an fma (fused multiply add), which calculates A*B+C with only one rounding (for the addition).
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.

GeneralRe: I really shouldn't have to do this on a platform that "supports" unicode Pin
honey the codewitch16-Dec-19 21:50
mvahoney the codewitch16-Dec-19 21:50 
GeneralRe: I really shouldn't have to do this on a platform that "supports" unicode Pin
Daniel Pfeffer16-Dec-19 21:55
professionalDaniel Pfeffer16-Dec-19 21:55 
GeneralRe: I really shouldn't have to do this on a platform that "supports" unicode Pin
honey the codewitch16-Dec-19 21:56
mvahoney the codewitch16-Dec-19 21:56 
GeneralSo that must be painful... Pin
Sander Rossel15-Dec-19 22:45
professionalSander Rossel15-Dec-19 22:45 
GeneralRe: So that must be painful... Pin
OriginalGriff15-Dec-19 22:54
mveOriginalGriff15-Dec-19 22:54 
GeneralRe: So that must be painful... Pin
glennPattonWork315-Dec-19 23:30
professionalglennPattonWork315-Dec-19 23:30 
GeneralRe: So that must be painful... Pin
Duncan Edwards Jones16-Dec-19 1:50
professionalDuncan Edwards Jones16-Dec-19 1:50 
GeneralRe: So that must be painful... Pin
Chris Maunder16-Dec-19 13:16
cofounderChris Maunder16-Dec-19 13:16 
GeneralRe: So that must be painful... Pin
Cp-Coder16-Dec-19 0:23
Cp-Coder16-Dec-19 0:23 
GeneralRe: So that must be painful... Pin
Maximilien16-Dec-19 4:11
Maximilien16-Dec-19 4:11 
GeneralRe: So that must be painful... Pin
Dan Neely16-Dec-19 4:49
Dan Neely16-Dec-19 4:49 
GeneralRe: So that must be painful... Pin
Bassam Abdul-Baki18-Dec-19 5:48
professionalBassam Abdul-Baki18-Dec-19 5:48 
GeneralCCC 16/12/2019 -Edit Solution Pin
super15-Dec-19 21:33
professionalsuper15-Dec-19 21:33 
GeneralRe: CCC 16/12/2019 Pin
OriginalGriff15-Dec-19 21:55
mveOriginalGriff15-Dec-19 21:55 
GeneralRe: CCC 16/12/2019 Pin
super15-Dec-19 23:02
professionalsuper15-Dec-19 23:02 
GeneralRe: CCC 16/12/2019 -Edit Pin
pkfox15-Dec-19 23:13
professionalpkfox15-Dec-19 23:13 
GeneralRe: CCC 16/12/2019 -Edit Pin
super15-Dec-19 23:25
professionalsuper15-Dec-19 23:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.