DigitalMars/dmc
View on GitHub ↗ ★ 144 C++
Digital Mars C and C++ Compiler
9 mentions on Hacker News by 1 person: 0 stories, 9 comments · first 2018-05-24 · latest 2022-09-09
20082026
-
I've actually implemented IEEE 754 floating point code, from scratch. https://github.com/DigitalMars/dmc/blob/master/src/CORE16/DO... Also, many of the math library functions, though I used "Software Manual for the Elementary Functions" by…
comment by WalterBright · 2022-09-09 · in Some things I realized about AI while contemplating slide rule prices on eBay -
…is this from Zortech? It's the same compiler, but upgraded for C++98. It's Open Source now. https://github.com/DigitalMars/dmc
comment by WalterBright · 2022-04-10 · in Restored F80 compiler code for CP/M -
…algorithm I was taught in 3rd grade, except using binary rather than base 10. Shift-subtact-add. https://github.com/DigitalMars/dmc/blob/master/src/CORE16/LM... Did it again to create the floating point emulator.…
comment by WalterBright · 2021-05-18 · in California Tries to “Cancel Math Class” -
…that only had shift and add instructions. I've implemented IEEE 754 floating point packages, too. https://github.com/DigitalMars/dmc/blob/master/src/CORE16/FL... Multiplication is repeated addition. Yes, I know about roundoff errors,…
comment by WalterBright · 2021-03-03 · in What’s Wrong with “Multiplication Is Repeated Addition”? (2008) -
…://www.digitalmars.com/download/freecompiler.html Source code to the compiler/libraries is also free: https://github.com/DigitalMars/dmc https://github.com/DigitalMars/Compiler
comment by WalterBright · 2019-10-03 · in Show HN: 8086/8088 assembler that runs over 8088 hardware with modern syntax -
Just for fun, here's my IEEE 754 implementation of double precision floating point for the 8088: https://github.com/DigitalMars/dmc/blob/master/src/CORE16/DO...
comment by WalterBright · 2019-07-10 · in Steve Wozniak's floating point routines for the 6502 -
…bring, so you're pretty much suffering from it anyway. BTW, here's the strcat I wrote eons ago: https://github.com/DigitalMars/dmc/blob/master/src/CORE32/ST... It does do two strlen's (the repne scasb instructions). With the improvements…
comment by WalterBright · 2018-07-22 · in Conflating pointers with arrays: C's biggest mistake? (2009) -
https://github.com/DigitalMars/dmc
comment by WalterBright · 2018-05-24 · in DigitalMars C/C++ Compiler -
I realized I had neglected to make the source to the runtime library available. Fixed that: https://github.com/DigitalMars/dmc/tree/master/src Everything in it that is copyrighted Symantec or Digital Mars is now Boost licensed. In…
comment by WalterBright · 2018-05-24 · in Consider using Digital Mars C compiler