Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: Calculation

N methods for shell mathematical calculation

let usage method [email protected]:/tmp# n1=5
[email protected]:/tmp# n2=10< br />[email protected]:/tmp# let result=n1+n2
[email protected]:/tmp# echo $result
15
[email protected]:/tmp# let n1++
[

October 18, 2021By Simo Unix Calculation, mathematics, method, shellLeave a Comment

CRC-CCITT 16-bit Python manual calculation

Problem

I am writing code for embedded devices. Many solutions for CRC-CCITT 16-bit calculations require libraries.

Possible solutions

The following CRC calculation was found onli

October 17, 2021By Simo Os Theory bit, Calculation, CCITT, CRC, manual, pythonLeave a Comment

Question – [tjoi2018] mathematical calculation

Problem Solution——[TJOI2018] Mathematical Calculation I really didn’t see that this is a line segment tree

Xiaodou now has a number x, the initial value is 1. Xiaodou has Q operations, operat

October 17, 2021By Simo Mathematics Calculation, mathematics, Question, Tjoi, Tjoi2018Leave a Comment

[Data Structure] Basic Operations on Single List

1. Initialization

//Create an empty single-linked list LinkList InitiateLinkList( ){ LinkList head; //Head pointer head = malloc(sizeof(node)); //Build a node dynamically, which is the head n

October 15, 2021By Simo Data Structure Basic, Calculation, Data Structure, single-strand, tableLeave a Comment

[Data Structure] Finding of Binary Trees and Calculation of Knights

The previous blog has basically introduced the basic algorithm of the binary tree. This article mainly introduces the search of nodes in the binary tree and the number of subtrees in the Kth row.

October 15, 2021By Simo Data Structure and first, binary tree, Calculation, Data Structure, lookup, Number, Row, TreeLeave a Comment

SELECT – NHIBERNATE Queryover Case WHEN Calculation Value

I have been trying to execute the following T-SQL in NHibernate QueryOver, but without success:

SELECT Id, SUM (CASE MyValue WHEN 1 THEN Volume ELSE Volume * -1 END)
FROM MyTable
GROUP BY Id

October 12, 2021By Simo Hibernate Calculation, Case, Column, NHIBERNATE, Queryover, select, valueLeave a Comment

How to calculate a sinus value somewhere, then move to XMM0 in Assembly?

I was doing integration tasks with FPU before, and now I am fighting with SSE.

My main problem is that when I use the FPU stack, There is the fsin function, which can be used on numbers, it i

October 11, 2021By Simo Wireless Assembly, Calculation, How to, Moving, sinusoidal, somewhere, then, value, XMM, XMM0Leave a Comment

Delphi – calculate maximum font size

I am calculating the maximum font size so that the Text fits the ClientRect of TCxLabel. But I may not be able to get it to work. (see picture)

fontsize is large And thxt is not drawn to the

October 5, 2021By Simo Delphi Calculation, Delphi, font, maximum, SizeLeave a Comment

How to calculate upvalues ​​in nested Lua functions?

Use lua code blocks like this:

local a, b
function fA ()
print(a)
function fB ()
print(b)
end
end How many upvalues ​​does fA have, 1 or 2?

You may want to use luac -l -l to read th

October 5, 2021By Simo Lua Calculation, function, How to, lua, middle, nested, UpValuesLeave a Comment

MySQL case: calculation ring ratio

select a.day_num as “Serial Number”,
a.create_time as “Shelf time”,
a.clue_num as “The amount of vehicles on the shelves”,
((a.clue_num/b.clue_num)-1) as “Chain Ratio”
from
(
select cast(

October 4, 2021By Simo Mysql Calculation, Case, mysql, ringLeave a Comment

Posts navigation

Page 1 Page 2 Page 3
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress